1
0
Fork 0
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:
Nobuyoshi Nakada 2020-02-06 15:40:34 +09:00
parent 3d83e641b1
commit 32adae431d
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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