[ruby/spec] Just test that sleep completes
This commit is contained in:
parent
3d83e641b1
commit
32adae431d
@ -97,7 +97,7 @@ describe "Mutex#sleep" do
|
||||
m.lock
|
||||
times.each do |time|
|
||||
# just testing that sleep completes
|
||||
m.sleep(time).should_not == nil
|
||||
-> {m.sleep(time)}.should_not raise_error
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user