From 3acb0ed9aea779e3d05b156c817e0a0e47738101 Mon Sep 17 00:00:00 2001 From: John Bachir Date: Tue, 7 Nov 2023 09:45:15 -0500 Subject: [PATCH 1/2] additional check for error bubble up test --- test/test_timeout.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_timeout.rb b/test/test_timeout.rb index b1a93a7..f8e3fb8 100644 --- a/test/test_timeout.rb +++ b/test/test_timeout.rb @@ -109,6 +109,7 @@ def test_nested_timeout_which_error_bubbles_up end assert_equal 'inner message', e.message + assert_equal 'inner message', raised_exception.message end def test_cannot_convert_into_time_interval From 56fde15b13ec87534213aa2f07b753d1dcd99d42 Mon Sep 17 00:00:00 2001 From: John Bachir Date: Tue, 7 Nov 2023 14:24:30 -0500 Subject: [PATCH 2/2] Update test/test_timeout.rb Co-authored-by: Benoit Daloze --- test/test_timeout.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/test/test_timeout.rb b/test/test_timeout.rb index f8e3fb8..e900b10 100644 --- a/test/test_timeout.rb +++ b/test/test_timeout.rb @@ -108,7 +108,6 @@ def test_nested_timeout_which_error_bubbles_up raised_exception = e end - assert_equal 'inner message', e.message assert_equal 'inner message', raised_exception.message end