aboutsummaryrefslogtreecommitdiff
path: root/tests/parser_test.c
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-09-09 05:43:06 +0200
committerhachem <im@hachem.wtf>2026-09-09 05:43:06 +0200
commitbf3bd19f79936fa519a5285701763da58935592a (patch)
tree9f854e50405a6fabd28d783232360c2c0b26e2f9 /tests/parser_test.c
parent8b76d35b0a045e0a3277be422513b938ef33dcce (diff)
refactor: split code gen into arch seam
Diffstat (limited to 'tests/parser_test.c')
-rw-r--r--tests/parser_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/parser_test.c b/tests/parser_test.c
index a88a319..9db85ec 100644
--- a/tests/parser_test.c
+++ b/tests/parser_test.c
@@ -355,7 +355,7 @@ static void test_parse_directives(struct TestContext* context)
static void test_parse_bad_directive(struct TestContext* context)
{
- struct Lexer bad_bits = create_lexer("[bits: 16]\nproc main\n{\nsyscall\n}\n");
+ struct Lexer bad_bits = create_lexer("[bits: 8]\nproc main\n{\nsyscall\n}\n");
struct Program program;
check(context, !parse_program(&bad_bits, &program));
free_program(&program);