Use assert_kind_of instead.

This commit is contained in:
take_cheeze
2014-05-24 23:18:03 +09:00
parent 229e7fe245
commit 2c451dd1fc
+1 -1
View File
@@ -10,7 +10,7 @@ end
assert('Proc#inspect') do
ins = Proc.new{}.inspect
assert_true ins.kind_of? String
assert_kind_of String, ins
end
assert('Proc#lambda?') do