summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-01 14:15:05 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-01 14:15:05 +0000
commit6c7466e82a0e81db338f7a75fd584d80f9f82a56 (patch)
tree396153abd08240097784edc2fc3a763893b7c609 /bootstraptest
parent49be22d8dfaa82da0b5f0538096ec1338e3c9a61 (diff)
* 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
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb10
1 files changed, 10 insertions, 0 deletions
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]"