Skip to content

Commit

Permalink
[ruby/spec] Just test that sleep completes
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Feb 6, 2020
1 parent 3d83e64 commit 32adae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ruby/core/mutex/sleep_spec.rb
Expand Up @@ -97,7 +97,7 @@
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

0 comments on commit 32adae4

Please sign in to comment.