summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-16 15:30:49 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-16 15:30:49 +0000
commiteb8a2419304e30019e9eaa63ae973a7186e01489 (patch)
treeb97e5bbb3a6059e460d7e76504a5a76141c82251 /test
parent5cd2eadf5796912321040c1742cf5c0bca0487a6 (diff)
use assert_same instead of assert_equal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_objectspace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_objectspace.rb b/test/ruby/test_objectspace.rb
index 14d44f0b39..a2d0164954 100644
--- a/test/ruby/test_objectspace.rb
+++ b/test/ruby/test_objectspace.rb
@@ -8,7 +8,7 @@ class TestObjectSpace < Test::Unit::TestCase
code = <<"End"
define_method("test_id2ref_#{line}") {\
o = ObjectSpace._id2ref(obj.object_id);\
- assert_equal(obj, o, "didn't round trip: \#{obj.inspect}");\
+ assert_same(obj, o, "didn't round trip: \#{obj.inspect}");\
}
End
eval code, binding, file, line