From 596cecb0579f8e04cafdc52e0bd1ea6f18de7715 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 20 May 2013 02:22:35 +0000 Subject: 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/trunk@40849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_objectspace.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ruby/test_objectspace.rb') 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 -- cgit v1.2.3