mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove test for recursive hash key. [ruby-core:22921]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
31060fb11b
commit
6dc1fea552
1 changed files with 0 additions and 6 deletions
|
@ -767,12 +767,6 @@ class TestHash < Test::Unit::TestCase
|
|||
assert(h1 != h2)
|
||||
h1 = {1=>2}; h2 = {1=>4}
|
||||
assert(h1 != h2)
|
||||
|
||||
h1 = {}; h1[h1] = h1; h1.rehash
|
||||
h2 = {}; h2[h2] = h2; h2.rehash
|
||||
# assert(h1 != h2)
|
||||
# recursive hashes are handled properly now. [ruby-core:23402]
|
||||
assert(h1 == h2)
|
||||
end
|
||||
|
||||
def test_eql
|
||||
|
|
Loading…
Add table
Reference in a new issue