Fix message identation

This commit is contained in:
JeremyStar™ 2024-04-07 21:12:39 +02:00
parent 7c8406a2b2
commit 07bda0c255
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -76,10 +76,10 @@ func _ready() -> 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
@ -97,11 +97,11 @@ func _ready() -> 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("")
# Shutdown