Fix message identation (again)
This commit is contained in:
parent
af80222276
commit
a422218139
1 changed files with 6 additions and 6 deletions
|
@ -96,10 +96,10 @@ func print_results() -> void:
|
|||
lresu(" -> [color=gray]SKIP[/color] " + test + " -> " + results[test]["message"])
|
||||
stats_skip += 1
|
||||
505:
|
||||
lerror(" -> ???? " + test + " -> Invalid status '" + str(results[test]["status"]) + "' (did you forget to set the test status?)")
|
||||
lerror(" -> ???? " + test + " -> Invalid status '" + str(results[test]["status"]) + "' (did you forget to set the test status?)")
|
||||
stats_forgot += 1
|
||||
_:
|
||||
lerror(" -> ???? " + test + " -> Invalid status '" + str(results[test]["status"]) + "'")
|
||||
lerror(" -> ???? " + test + " -> Invalid status '" + str(results[test]["status"]) + "'")
|
||||
stats_unknown += 1
|
||||
|
||||
# Print statistics
|
||||
|
@ -117,11 +117,11 @@ func print_results() -> void:
|
|||
if stats_skip == 1: lresu(" -> [color=gray]" + str(stats_skip) + " test was skipped[/color]")
|
||||
else: lresu(" -> [color=gray]" + str(stats_skip) + " tests were skipped[/color]")
|
||||
if stats_forgot != 0:
|
||||
if stats_forgot == 1: lerror(" -> " + str(stats_forgot) + " test did not update 'test_status' (fix that!)")
|
||||
else: lerror(" -> " + str(stats_forgot) + " tests did not update 'test_status' (fix that!)")
|
||||
if stats_forgot == 1: lerror(" -> " + str(stats_forgot) + " test did not update 'test_status' (fix that!)")
|
||||
else: lerror(" -> " + str(stats_forgot) + " tests did not update 'test_status' (fix that!)")
|
||||
if stats_unknown != 0:
|
||||
if stats_unknown == 1: lerror(" -> " + str(stats_unknown) + " test has an unknown status (fix that!)")
|
||||
else: lerror(" -> " + str(stats_unknown) + " tests have an unknown status (fix that!)")
|
||||
if stats_unknown == 1: lerror(" -> " + str(stats_unknown) + " test has an unknown status (fix that!)")
|
||||
else: lerror(" -> " + str(stats_unknown) + " tests have an unknown status (fix that!)")
|
||||
lresu("")
|
||||
|
||||
# +++ logging +++
|
||||
|
|
Loading…
Reference in a new issue