aboutsummaryrefslogtreecommitdiff
path: root/tests/parser_test.c
diff options
context:
space:
mode:
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);