From 6dc1fea5526e858985043af075c0bb712a056549 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 17 Jul 2009 00:18:34 +0000 Subject: [PATCH] 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 --- test/ruby/test_hash.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 2f030eac0e..c860b25239 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