Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmicoppai committed Oct 17, 2024
1 parent f992632 commit c6d121a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_timeout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_allows_zero_seconds
end

def test_allows_nil_seconds
assert_raise(ArgumentError) do
assert_nothing_raised do
assert_equal :ok, Timeout.timeout(nil){:ok}
end
end
Expand Down

0 comments on commit c6d121a

Please sign in to comment.