Fix message identation (again)

This commit is contained in:
JeremyStar™ 2024-04-07 21:42:59 +02:00
parent af80222276
commit a422218139
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -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 +++