From 6c7466e82a0e81db338f7a75fd584d80f9f82a56 Mon Sep 17 00:00:00 2001 From: usa Date: Sat, 1 Sep 2007 14:15:05 +0000 Subject: [PATCH] * bootstraptest/test_knownbug.rb: add new test. [ruby-dev:31698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_knownbug.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index b97a08d928..8d5552070f 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -3,3 +3,13 @@ # So all tests will cause failure. # +assert_equal 1, %q{ + catch do |t| + begin + throw t, 1 + 2 + ensure + 3 + end + end +}, "[ruby-dev:31698]"