|
|
@ -24,7 +24,7 @@ function expect.nil_(value, comment)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function expect.eq(a, b, comment)
|
|
|
|
function expect.eq(a, b, comment)
|
|
|
|
return a == b, comment, ('%s ~= %s'):format(a, b)
|
|
|
|
return a == b, comment, ('"%s" ~= "%s"'):format(a, b)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function expect.ne(a, b, comment)
|
|
|
|
function expect.ne(a, b, comment)
|
|
|
|