diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-23 03:14:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-23 03:14:05 +0000 |
commit | 279c325890b496bf0caf13804d814d3b83816192 (patch) | |
tree | ab785dc3cb2ec2c8bd3e643bf94628965f8ec3e8 /test/ruby | |
parent | 55b9ca4eb0e919521294ff5ae82fbc73c0cea39b (diff) | |
download | ruby-279c325890b496bf0caf13804d814d3b83816192.tar.gz |
skip unless finalizers run
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_gc.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 2e26fde5c1..fa4d779069 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -398,7 +398,7 @@ class TestGc < Test::Unit::TestCase end end - def test_exception_in_finalizer + def test_exception_in_finalizer_procs result = [] c1 = proc do result << :c1 @@ -417,6 +417,7 @@ class TestGc < Test::Unit::TestCase } } GC.start + skip "finalizers did not get run" if result.empty? assert_equal([:c1, :c2], result) end end |