prettify some printing, tidy loop

This commit is contained in:
andromeda
2026-03-25 17:48:58 +01:00
parent 20162ab02c
commit 31a438d1ee
2 changed files with 46 additions and 118 deletions

View File

@@ -654,11 +654,13 @@ test_evaluate_operand:
msg_pass:
db 0x0A
times (TEST_LINE_LENGTH + .start - .end) db " ", ; right align
times (TEST_LINE_LENGTH + .start + 5 - .end) db " ", ; right align
db 0x1B, "[32m"
.start db "passed."
.end db 0x0A, 0x00
.end db 0x1B, "[0m", 0x0A, 0x00
msg_fail:
db 0x0A
times (TEST_LINE_LENGTH + .start - .end) db " ",
db 0x1B, "[31m"
.start db "failed."
.end db 0x0A, 0x00
.end db 0x1B, "[0m", 0x0A, 0x00