summaryrefslogtreecommitdiff
path: root/bootstraptest/test_jump.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-01 14:56:59 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-01 14:56:59 +0000
commitebef450d28ec493b53487ead5c2cfdbc0234c17b (patch)
tree5e574d3780249fef3aec89840cc4ae4a02ad99e4 /bootstraptest/test_jump.rb
parent87fe4d49139524fddd58c8119cf356308a081813 (diff)
* test_jump.rb, test_knownbug.rb: seems to be fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_jump.rb')
-rw-r--r--bootstraptest/test_jump.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/bootstraptest/test_jump.rb b/bootstraptest/test_jump.rb
index 9ada682..b1a74d8 100644
--- a/bootstraptest/test_jump.rb
+++ b/bootstraptest/test_jump.rb
@@ -237,3 +237,14 @@ assert_equal 'ok', %q{
:ng
end
}, '[ruby-dev:31609]'
+
+assert_equal "1", %q{
+ catch do |t|
+ begin
+ throw t, 1
+ 2
+ ensure
+ 3
+ end
+ end
+}, "[ruby-dev:31698]"