summaryrefslogtreecommitdiff
path: root/bootstraptest/test_knownbug.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-30 22:43:51 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-30 22:43:51 +0000
commitf78965d0c048298e12fca8d17223c5393d7f562b (patch)
tree646b7d750adcec17295336c11d93fba5c110163b /bootstraptest/test_knownbug.rb
parente4dda7015ac3a900fc757c328ab525c16dec353d (diff)
bootstraptest updated
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_knownbug.rb')
-rw-r--r--bootstraptest/test_knownbug.rb14
1 files changed, 10 insertions, 4 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 0363c0f..f85b7f3 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -174,12 +174,18 @@ assert_equal 'ok', %q{
}, '[ruby-dev:34492]'
assert_normal_exit %q{
- r = 0**-1
- r + r
+ begin
+ r = 0**-1
+ r + r
+ rescue
+ end
}, '[ruby-dev:34524]'
assert_normal_exit %q{
- r = Marshal.load("\x04\bU:\rRational[\ai\x06i\x05")
- r + r
+ begin
+ r = Marshal.load("\x04\bU:\rRational[\ai\x06i\x05")
+ r + r
+ rescue
+ end
}, '[ruby-dev:34536]'