We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f992632 commit c6d121aCopy full SHA for c6d121a
test/test_timeout.rb
@@ -26,7 +26,7 @@ def test_allows_zero_seconds
26
end
27
28
def test_allows_nil_seconds
29
- assert_raise(ArgumentError) do
+ assert_nothing_raised do
30
assert_equal :ok, Timeout.timeout(nil){:ok}
31
32
0 commit comments