mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
test/hash.rb: remove Hash#freeze before Hash#rehash; ref #6485
This commit is contained in:
@@ -903,7 +903,6 @@ assert('Hash#rehash') do
|
||||
pairs1 = pairs.dup
|
||||
pairs1.delete([:_del, h.delete(:_del)])
|
||||
exp_pairs1 = pairs1.hash_for.to_a
|
||||
h.freeze
|
||||
assert_same(h, h.rehash)
|
||||
assert_equal(exp_pairs1, h.to_a)
|
||||
assert_equal(exp_pairs1.size, h.size)
|
||||
|
||||
Reference in New Issue
Block a user