diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_weakmap.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_weakmap.rb b/test/ruby/test_weakmap.rb index c72e7310db..7fc956dfae 100644 --- a/test/ruby/test_weakmap.rb +++ b/test/ruby/test_weakmap.rb @@ -178,6 +178,8 @@ class TestWeakMap < Test::Unit::TestCase end def test_compaction_bug_19529 + omit "compaction is not supported on this platform" unless GC.respond_to?(:compact) + obj = Object.new 100.times do |i| GC.compact |