diff options
| author | andromeda <andromeda@lenovo> | 2026-03-25 17:48:58 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-03-25 17:48:58 +0100 |
| commit | 31a438d1eebaebcf00e49035ce6c73817c5fee96 (patch) | |
| tree | e56e23440164cbd3732b83591b14df298d10c622 /twasm/asm/tests.asm | |
| parent | 20162ab02caa3b04654752e9bbfdde8928f8d379 (diff) | |
prettify some printing, tidy loop
Diffstat (limited to 'twasm/asm/tests.asm')
| -rw-r--r-- | twasm/asm/tests.asm | 8 |
1 files changed, 5 insertions, 3 deletions
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 |
