summaryrefslogtreecommitdiff
path: root/twasm/asm/tests.asm
diff options
context:
space:
mode:
Diffstat (limited to 'twasm/asm/tests.asm')
-rw-r--r--twasm/asm/tests.asm8
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