From edb8eee2365b8a1bdbaf72a50cdc4d8adf24c495 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 24 Dec 2007 19:03:09 +0000 Subject: [PATCH] add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_knownbug.rb | 6 ++++++ 1 file changed, 6 insertions(+) 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 +}