diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_exception.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb index 4da3de165b..208c5ecfc0 100644 --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -183,11 +183,12 @@ class TestException < Test::Unit::TestCase def test_throw_false bug12743 = '[ruby-core:77229] [Bug #12743]' - assert_raise_with_message(UncaughtThrowError, /false/, bug12743) { + e = assert_raise_with_message(UncaughtThrowError, /false/, bug12743) { Thread.start { throw false }.join } + assert_same(false, e.tag, bug12743) end def test_else_no_exception |