Don't check ObjectID of Kernel#to_s. Only class check of instance

This commit is contained in:
Daniel Bovensiepen
2012-09-15 14:14:25 +09:00
parent f0f113ef0e
commit e44c3fc8aa
+1 -1
View File
@@ -337,5 +337,5 @@ assert('Kernel#singleton_methods', '15.3.1.3.45') do
end
assert('Kernel#to_s', '15.3.1.3.46') do
to_s == '#<Object:0x0>'
to_s.class == String
end