summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-17 19:01:16 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-17 19:01:16 +0000
commit52530e365369cf39cd4bf1e725e930175ebe267c (patch)
tree33c40c2c44e29e1d41bd7bae003db56a8bfe3067 /test
parent3a8d3080292073a5df9ce70f34c92a3fc6312c9a (diff)
merge revision(s) 40849:
test_objectspace.rb: run test_each_object separately * test/ruby/test_objectspace.rb (TestObjectSpace#test_each_object): run separately. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_objectspace.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_objectspace.rb b/test/ruby/test_objectspace.rb
index a5299212fc..3127b61abe 100644
--- a/test/ruby/test_objectspace.rb
+++ b/test/ruby/test_objectspace.rb
@@ -67,6 +67,7 @@ End
end
def test_each_object
+ assert_separately([], <<-End)
GC.disable
eval('begin; 1.times{}; rescue; ensure; end')
arys = []
@@ -81,5 +82,6 @@ End
# rescue "can't modify frozen File" error.
end
}
+ End
end
end