summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-13 13:54:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-13 13:54:52 +0000
commiteafeb506cd0f53be1fc4360fe7f493ef3714705a (patch)
treedbb828fd3e8d55a595d43aebcb297e37aa6f7bc6
parent7678c0d702663acb326ba9dc9b69f0622a9c0398 (diff)
remove wrong expectation
* spec/rubyspec/core/kernel/itself_spec.rb: `object_id` may return different objects for each calls, and the expectation of object identity is done by `equal` matcher which uses `equal?` method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--spec/rubyspec/core/kernel/itself_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/rubyspec/core/kernel/itself_spec.rb b/spec/rubyspec/core/kernel/itself_spec.rb
index 285080ec3b..722d75d718 100644
--- a/spec/rubyspec/core/kernel/itself_spec.rb
+++ b/spec/rubyspec/core/kernel/itself_spec.rb
@@ -5,6 +5,5 @@ describe "Kernel#itself" do
it "returns the receiver itself" do
foo = Object.new
foo.itself.should equal foo
- foo.itself.object_id.should equal foo.object_id
end
end