fix the handling of "msg" tests
This commit is contained in:
parent
b2aa70c6ef
commit
f49f2f38f0
2 changed files with 6 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ proc addResult(r: var TResults, test: TTest,
|
|||
given = given)
|
||||
r.data.addf("$#\t$#\t$#\t$#", name, expected, given, $success)
|
||||
if success notin {reSuccess, reIgnored}:
|
||||
styledEcho styleBright, fgRed, "^^^ [", $success, "]"
|
||||
styledEcho styleBright, name, fgRed, " [", $success, "]"
|
||||
styledEcho styleDim, "EXPECTED:"
|
||||
echo expected
|
||||
styledEcho styleDim, "GIVEN:"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue