Print failing test names to the console in the 'warning' color

This commit is contained in:
Ben Ratzlaff 2018-04-27 09:59:50 -07:00 committed by Tom van Dijck
parent 5519acbeb8
commit f910ede248

View File

@ -103,7 +103,10 @@
if ok then
return 1, 0
else
m.print(string.format("%s.%s: %s", test.suiteName, test.testName, err))
term.pushColor(term.warningColor)
io.write(string.format("%s.%s", test.suiteName, test.testName))
term.popColor()
m.print(string.format(": %s", err))
return 0, 1
end
end