diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-20 02:22:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-20 02:22:35 +0000 |
commit | 596cecb0579f8e04cafdc52e0bd1ea6f18de7715 (patch) | |
tree | d6e61c2df9e61cb5c6a0170d2e65c3874d26bdd6 /test/ruby/test_objectspace.rb | |
parent | 88bcccd4333fee37e90dc524ccb7cc20745e0332 (diff) | |
download | ruby-596cecb0579f8e04cafdc52e0bd1ea6f18de7715.tar.gz |
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
Diffstat (limited to 'test/ruby/test_objectspace.rb')
-rw-r--r-- | test/ruby/test_objectspace.rb | 2 |
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 |