diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-24 21:26:02 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-24 21:26:02 +0000 |
| commit | 7ed3addd78dd7ad3ecc9fc3f55e0d6010571379e (patch) | |
| tree | da4b009b6e624247870db2d3ac0708ebbc9055b5 /bootstraptest | |
| parent | f94a9aa33b2f366bff209b959ca306f70797b2fd (diff) | |
| download | ruby-7ed3addd78dd7ad3ecc9fc3f55e0d6010571379e.tar.gz ruby-7ed3addd78dd7ad3ecc9fc3f55e0d6010571379e.tar.xz ruby-7ed3addd78dd7ad3ecc9fc3f55e0d6010571379e.zip | |
* bootstraptest/test_knownbug.rb, test_literal.rb: move fixed test.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
| -rw-r--r-- | bootstraptest/test_knownbug.rb | 6 | ||||
| -rw-r--r-- | bootstraptest/test_literal.rb | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index bdbf5b1f9..39dc6a9b8 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 3c9414576..fe4e966a0 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 +} |
