diff options
author | CosmicOppai <[email protected]> | 2024-10-18 01:10:34 +0530 |
---|---|---|
committer | git <[email protected]> | 2024-12-03 06:49:56 +0000 |
commit | e97225b18258dc81f38e0500ca819fec4791308a (patch) | |
tree | 7cf11e0a6b5975e340b8ff5f086bc6f5c7212451 | |
parent | b156efc2a6f2574eb7eebbf34b0027e19a0c5838 (diff) |
[ruby/timeout] updated tests
https://github.com/ruby/timeout/commit/c6d121aa18
-rw-r--r-- | test/test_timeout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_timeout.rb b/test/test_timeout.rb index bc3036386a..01156867b0 100644 --- a/test/test_timeout.rb +++ b/test/test_timeout.rb @@ -26,7 +26,7 @@ class TestTimeout < Test::Unit::TestCase end def test_allows_nil_seconds - assert_raise(ArgumentError) do + assert_nothing_raised do assert_equal :ok, Timeout.timeout(nil){:ok} end end |