aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_hash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_hash.rb')
-rw-r--r--test/ruby/test_hash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb
index 49b74c7257..cfb61b6480 100644
--- a/test/ruby/test_hash.rb
+++ b/test/ruby/test_hash.rb
@@ -212,7 +212,7 @@ class TestHash < Test::Unit::TestCase
def test_ASET_string
a = {"ABC" => :t}
b = {"ABC" => :t}
- assert_equal a.keys[0].object_id, b.keys[0].object_id
+ assert_same a.keys[0], b.keys[0]
end
def test_EQUAL # '=='