Skip to content

Commit e97225b

Browse files
Cosmicoppaimatzbot
authored andcommitted
[ruby/timeout] updated tests
ruby/timeout@c6d121aa18
1 parent b156efc commit e97225b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_timeout.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_allows_zero_seconds
2626
end
2727

2828
def test_allows_nil_seconds
29-
assert_raise(ArgumentError) do
29+
assert_nothing_raised do
3030
assert_equal :ok, Timeout.timeout(nil){:ok}
3131
end
3232
end

0 commit comments

Comments
 (0)