Commit 119b9f5b authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

check value from NilClass#inspect

parent a2a4563e
...@@ -213,7 +213,8 @@ assert('Kernel#hash', '15.3.1.3.15') do ...@@ -213,7 +213,8 @@ assert('Kernel#hash', '15.3.1.3.15') do
end end
assert('Kernel#inspect', '15.3.1.3.17') do assert('Kernel#inspect', '15.3.1.3.17') do
inspect.class == String s = nil.inspect
s.class == String and s == "nil"
end end
assert('Kernel#instance_variables', '15.3.1.3.23') do assert('Kernel#instance_variables', '15.3.1.3.23') do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment