From 39fcd1cdf295d310c1bfd220324fef5b2f725230 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 19 May 2008 05:20:21 +0000 Subject: * bootstraptest/test_knownbug.rb: move solved tests. * bootstraptest/test_eval.rb, test_literal.rb, test_syntax.rb, test_thread.rb: ditto. * test/ruby/test_m17n.rb, test_proc.rb, test_sprintf.rb, test_string.rb, test/ruby/test_struct.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_literal.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'bootstraptest/test_literal.rb') diff --git a/bootstraptest/test_literal.rb b/bootstraptest/test_literal.rb index fe4e966a00..8480c65308 100644 --- a/bootstraptest/test_literal.rb +++ b/bootstraptest/test_literal.rb @@ -176,3 +176,19 @@ assert_equal 'ok', %q{ ObjectSpace.each_object(Module) {|m| m.name.inspect } :ok } + +assert_normal_exit %q{ + begin + r = 0**-1 + r + r + rescue + end +}, '[ruby-dev:34524]' + +assert_normal_exit %q{ + begin + r = Marshal.load("\x04\bU:\rRational[\ai\x06i\x05") + r + r + rescue + end +}, '[ruby-dev:34536]' -- cgit v1.2.3