From 31a438d1eebaebcf00e49035ce6c73817c5fee96 Mon Sep 17 00:00:00 2001 From: andromeda Date: Wed, 25 Mar 2026 17:48:58 +0100 Subject: prettify some printing, tidy loop --- twasm/asm/tests.asm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'twasm/asm/tests.asm') diff --git a/twasm/asm/tests.asm b/twasm/asm/tests.asm index bc52041..dd82315 100644 --- a/twasm/asm/tests.asm +++ b/twasm/asm/tests.asm @@ -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 -- cgit v1.3.1