Print full text in test_assertions (#522)
It makes it easier to see what is wrong.
This commit is contained in:
parent
3455d95a19
commit
6b30ce5908
@ -28,7 +28,7 @@
|
||||
local etxt = eit()
|
||||
while etxt do
|
||||
if (etxt ~= atxt) then
|
||||
m.fail("(%d) expected:\n%s\n...but was:\n%s", linenum, etxt, atxt)
|
||||
m.fail("(%d) expected:\n%s\n...but was:\n%s\nfulltext:\n%s", linenum, etxt, atxt, actual)
|
||||
end
|
||||
|
||||
linenum = linenum + 1
|
||||
|
Reference in New Issue
Block a user