Label memory leak test

This commit is contained in:
Peter Zhu 2024-01-07 10:05:20 -05:00
parent bca1493815
commit 189c8077aa

View File

@ -87,7 +87,7 @@ class TestWeakKeyMap < Test::Unit::TestCase
assert_nothing_raised(FrozenError) {@wm['foo'] = o}
end
def test_inconsistent_hash_key
def test_inconsistent_hash_key_memory_leak
assert_no_memory_leak [], '', <<~RUBY
class BadHash
def initialize