summaryrefslogtreecommitdiff
path: root/bootstraptest/test_literal.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 21:26:02 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 21:26:02 +0000
commit7ad94af99b237460eb86e0de5828ed9f45f561b2 (patch)
treeda4b009b6e624247870db2d3ac0708ebbc9055b5 /bootstraptest/test_literal.rb
parenta560576158af1f502083a5f6e7bc496f336ce275 (diff)
* 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
Diffstat (limited to 'bootstraptest/test_literal.rb')
-rw-r--r--bootstraptest/test_literal.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstraptest/test_literal.rb b/bootstraptest/test_literal.rb
index 3c94145..fe4e966 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
+}