aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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 e59e834..f4df522 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, "N equ 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);