add quotes around printed unequal values

so you can see confusing hidden trailing spaces
develop
myk002 2021-06-23 14:04:16 -07:00
parent 2fc5fbacb5
commit 67840c033c
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 1 deletions

@ -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)