* test/ruby/test_eval.rb (class TestEval): Use assert_same instead of

assert_equal.
* test/ruby/test_hash.rb (class TestHash): ditto.
* test/ruby/test_iseq.rb (class TestISeq): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tmm1 2013-11-27 06:03:37 +00:00
parent 9c8f03fac9
commit 53f3ddfefb
4 changed files with 11 additions and 7 deletions

View file

@ -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