diff options
Diffstat (limited to 'test')
-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 |