diff options
-rw-r--r-- | test/ruby/test_hash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 4aee4a05b6..dbc3ed2bfc 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -958,7 +958,7 @@ class TestHash < Test::Unit::TestCase o = Object.new def o.hash; 2 << 100; end - assert_equal({x=>1}.hash, {x=>1}.hash) + assert_equal({o=>1}.hash, {o=>1}.hash) end def test_hash_poped |