summaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-03 11:26:10 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-03 11:26:10 +0000
commit611f941f11bc1d97227603c069c7336e4eaf8b66 (patch)
tree3f754c32909f53f318829066e947dbd8ef2704eb /bootstraptest
parent45a0f45983847db4184fa82ac201f3a8e07e7142 (diff)
downloadruby-611f941f11bc1d97227603c069c7336e4eaf8b66.tar.gz
ruby-611f941f11bc1d97227603c069c7336e4eaf8b66.tar.xz
ruby-611f941f11bc1d97227603c069c7336e4eaf8b66.zip
Added known bug from ruby-core:14537
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 3da255493..17797aca8 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -3,4 +3,13 @@
# So all tests will cause failure.
#
+assert_equal 'ok', %q{
+ class X < RuntimeError;end
+ x = [X]
+ begin
+ raise X
+ rescue *x
+ :ok
+ end
+}, '[ruby-core:14537]'