summaryrefslogtreecommitdiff
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-05 05:38:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-05 05:38:13 +0000
commit1402333810cae580ffe90e2cc635a47ed4be8f68 (patch)
tree76f826d73e8b8893290bd7c8a8cb79c3363fe170 /test/ruby/test_array.rb
parent14b46d30e0c5b096a7f7cf5293f8bf8adb1835bd (diff)
test_hash.rb: move tests
* test/ruby/test_hash.rb: move hash value tests from test_array.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_array.rb')
-rw-r--r--test/ruby/test_array.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb
index d975b668f0..85f1ec0058 100644
--- a/test/ruby/test_array.rb
+++ b/test/ruby/test_array.rb
@@ -2049,15 +2049,6 @@ class TestArray < Test::Unit::TestCase
assert_equal(A, B)
end
- def test_recursive_hash_value
- assert_not_equal([[1]].hash, [[2]].hash)
- a = []
- a << a
- assert_equal([[a]].hash, a.hash)
- assert_not_equal([a, 1].hash, [a, 2].hash)
- assert_not_equal([a, a].hash, a.hash) # Implementation dependent
- end
-
def test_flatten_error
a = []
a << a