From 7ad94af99b237460eb86e0de5828ed9f45f561b2 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 24 Dec 2007 21:26:02 +0000 Subject: [PATCH] * bootstraptest/test_knownbug.rb, test_literal.rb: move fixed test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ bootstraptest/test_knownbug.rb | 6 ------ bootstraptest/test_literal.rb | 8 ++++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 698b05757b..e294f25959 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Dec 25 06:23:40 2007 Koichi Sasada + + * bootstraptest/test_knownbug.rb, test_literal.rb: move fixed test. + Tue Dec 25 06:19:04 2007 GOTOU Yuuzou * sample/biorhythm.rb: follow Ruby 1.9 libraries. diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index bdbf5b1f92..39dc6a9b8b 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -2,9 +2,3 @@ # This test file concludes tests which point out known bugs. # So all tests will cause failure. # - -assert_equal 'ok', %q{ - # this cause "called on terminated object". - ObjectSpace.each_object(Module) {|m| m.name.inspect } - :ok -} diff --git a/bootstraptest/test_literal.rb b/bootstraptest/test_literal.rb index 3c94145769..fe4e966a00 100644 --- a/bootstraptest/test_literal.rb +++ b/bootstraptest/test_literal.rb @@ -168,3 +168,11 @@ assert_equal 'c', 'r = ("a".."c"); r.end' assert_equal 'String', '__FILE__.class' assert_equal 'Fixnum', '__LINE__.class' + +### + +assert_equal 'ok', %q{ + # this cause "called on terminated object". + ObjectSpace.each_object(Module) {|m| m.name.inspect } + :ok +}