summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 19:03:09 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 19:03:09 +0000
commitedb8eee2365b8a1bdbaf72a50cdc4d8adf24c495 (patch)
tree8403f40e06587cfbf86779d2a0ae70aebbfb65f7 /bootstraptest
parente885517639c2bc1eacedfffe68679c4882b2fa5f (diff)
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 39dc6a9b8b..bdbf5b1f92 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -2,3 +2,9 @@
# 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
+}