mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
check value from NilClass#inspect
This commit is contained in:
+2
-1
@@ -213,7 +213,8 @@ assert('Kernel#hash', '15.3.1.3.15') do
|
||||
end
|
||||
|
||||
assert('Kernel#inspect', '15.3.1.3.17') do
|
||||
inspect.class == String
|
||||
s = nil.inspect
|
||||
s.class == String and s == "nil"
|
||||
end
|
||||
|
||||
assert('Kernel#instance_variables', '15.3.1.3.23') do
|
||||
|
||||
Reference in New Issue
Block a user