mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/spec] Just test that sleep completes
This commit is contained in:
parent
3d83e641b1
commit
32adae431d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue