diff options
-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 |