aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/hash/compare_by_identity_spec.rb
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-27 20:21:25 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-27 20:21:25 +0000
commit37ef87c12b6c496001d0f199e46b4ecbfac5d394 (patch)
tree063c277e6343b299f6d47200e5b38f3af7975301 /spec/ruby/core/hash/compare_by_identity_spec.rb
parentecf03376ec25fbd1ced6c0d1de110c6761e959fd (diff)
downloadruby-37ef87c12b6c496001d0f199e46b4ecbfac5d394.tar.gz
Update to ruby/spec@cbe855c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/hash/compare_by_identity_spec.rb')
-rw-r--r--spec/ruby/core/hash/compare_by_identity_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/hash/compare_by_identity_spec.rb b/spec/ruby/core/hash/compare_by_identity_spec.rb
index 34541037b9..6e6f294e10 100644
--- a/spec/ruby/core/hash/compare_by_identity_spec.rb
+++ b/spec/ruby/core/hash/compare_by_identity_spec.rb
@@ -105,7 +105,7 @@ describe "Hash#compare_by_identity" do
@idh[foo] = true
@idh[foo] = true
@idh.size.should == 1
- @idh.keys.first.object_id.should == foo.object_id
+ @idh.keys.first.should equal foo
end
ruby_bug "#12855", "2.2.0"..."2.4.1" do