Print failing test names to the console in the 'warning' color
This commit is contained in:
parent
5519acbeb8
commit
f910ede248
@ -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
|
||||
|
Reference in New Issue
Block a user