summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-17 00:18:34 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-17 00:18:34 +0000
commit6dc1fea5526e858985043af075c0bb712a056549 (patch)
tree2d4b20d971ec38e3b24d73232308c3c84ef472b2 /test/ruby
parent31060fb11be83c8d8c38fa1c2b8f0f7bc10cac9c (diff)
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
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_hash.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb
index 2f030ea..c860b25 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