aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_eval.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_eval.rb')
-rw-r--r--test/ruby/test_eval.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_eval.rb b/test/ruby/test_eval.rb
index abf65613b1..2700aa33f3 100644
--- a/test/ruby/test_eval.rb
+++ b/test/ruby/test_eval.rb
@@ -482,7 +482,6 @@ class TestEval < Test::Unit::TestCase
a, b = o.method(:foo).source_location[0],
o.method(:bar).source_location[0]
- assert_equal a.object_id, b.object_id,
- "#{a.inspect}.object_id != #{b.inspect}.object_id"
+ assert_same a, b
end
end