Label memory leak test
This commit is contained in:
parent
bca1493815
commit
189c8077aa
@ -87,7 +87,7 @@ class TestWeakKeyMap < Test::Unit::TestCase
|
|||||||
assert_nothing_raised(FrozenError) {@wm['foo'] = o}
|
assert_nothing_raised(FrozenError) {@wm['foo'] = o}
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_inconsistent_hash_key
|
def test_inconsistent_hash_key_memory_leak
|
||||||
assert_no_memory_leak [], '', <<~RUBY
|
assert_no_memory_leak [], '', <<~RUBY
|
||||||
class BadHash
|
class BadHash
|
||||||
def initialize
|
def initialize
|
||||||
|
Loading…
x
Reference in New Issue
Block a user