aboutsummaryrefslogtreecommitdiff
path: root/tests/codegen_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen_test.c')
-rw-r--r--tests/codegen_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen_test.c b/tests/codegen_test.c
index 1cb0071..c56ca7a 100644
--- a/tests/codegen_test.c
+++ b/tests/codegen_test.c
@@ -21,7 +21,7 @@ static void test_generate_consts_and_data(struct TestContext* context)
buffer[read] = '\0';
fclose(out);
- check(context, strstr(buffer, "%define N 5") != NULL);
+ check(context, strstr(buffer, "%define N (5)") != NULL);
check(context, strstr(buffer, "section .data") != NULL);
check(context, strstr(buffer, "msg: db `hi`") != NULL);
check(context, strstr(buffer, ".len equ $ - msg") != NULL);