From 7e81774276c2668e9b57c3e8bdf83a270b04f610 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 17 Jul 2009 00:18:34 +0000 Subject: remove test for recursive hash key. [ruby-core:22921] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_hash.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 2f030eac0..c860b2523 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -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 -- cgit