summaryrefslogtreecommitdiff
path: root/test/ruby/test_gc_compact.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-30 09:34:41 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-30 11:45:37 +0900
commit409b0ec4c3c4878c0ba164d1303de67787157808 (patch)
tree292c5554ee9f81571b760d359ac9513c44da3ee0 /test/ruby/test_gc_compact.rb
parent84837e6d16cb0e588b1acc2691cb1048b9a89989 (diff)
Suppress unused variable warnings
Diffstat (limited to 'test/ruby/test_gc_compact.rb')
-rw-r--r--test/ruby/test_gc_compact.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb
index 94acbb3a4d..4228ceeb1d 100644
--- a/test/ruby/test_gc_compact.rb
+++ b/test/ruby/test_gc_compact.rb
@@ -119,6 +119,8 @@ class TestGCCompact < Test::Unit::TestCase
collisions = GC.stat(:object_id_collisions)
skip "couldn't get objects to collide" if collisions == 0
assert_operator collisions, :>, 0
+ ids.clear
+ new_tenants.clear
end
def test_complex_hash_keys