Skip to content

Commit c6d121a

Browse files
committed
updated tests
1 parent f992632 commit c6d121a

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)