From c6d121aa1878d1c977d741c5cf17d4146dc69d22 Mon Sep 17 00:00:00 2001 From: CosmicOppai Date: Fri, 18 Oct 2024 01:10:34 +0530 Subject: [PATCH] updated tests --- test/test_timeout.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_timeout.rb b/test/test_timeout.rb index bc30363..0115686 100644 --- a/test/test_timeout.rb +++ b/test/test_timeout.rb @@ -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