summaryrefslogtreecommitdiffhomepage
path: root/test/t
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-09-15 10:48:04 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-09-15 10:48:04 -0700
commit8bed663762301b22f9c89c0821a16bdf78bd239d (patch)
tree1008ed69fa56aeaa7590369653deb173103185ed /test/t
parentef17231bd776b266f1fe3132bde0fb6bbef90257 (diff)
parente44c3fc8aac96ad40da7bef5de30c31689efc9c9 (diff)
downloadmruby-8bed663762301b22f9c89c0821a16bdf78bd239d.tar.gz
mruby-8bed663762301b22f9c89c0821a16bdf78bd239d.zip
Merge pull request #472 from bovi/kernel-to-s-test
Don't check ObjectID of Kernel#to_s. Only class check of instance
Diffstat (limited to 'test/t')
-rw-r--r--test/t/kernel.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/kernel.rb b/test/t/kernel.rb
index 1342f0254..fb0aee310 100644
--- a/test/t/kernel.rb
+++ b/test/t/kernel.rb
@@ -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