diff options
Diffstat (limited to 'test/ruby/test_array.rb')
-rw-r--r-- | test/ruby/test_array.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index d7e1c365dd..9411c6a088 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -2012,9 +2012,9 @@ class TestArray < Test::Unit::TestCase end def test_hash2 + assert_not_equal([[1]].hash, [[2]].hash) a = [] a << a - assert_equal([[a]].hash, a.hash) assert_not_equal([a, a].hash, a.hash) # Implementation dependent end |