Merge pull request #472 from bovi/kernel-to-s-test

Don't check ObjectID of Kernel#to_s. Only class check of instance
This commit is contained in:
Yukihiro "Matz" Matsumoto
2012-09-15 10:48:04 -07:00
+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