summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/parser_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parser_test.c b/test/parser_test.c
index 52437ce..3f814c6 100644
--- a/test/parser_test.c
+++ b/test/parser_test.c
@@ -67,7 +67,8 @@ test_parse_function(const MunitParameter params[], void *user_data_or_fixture)
make_lexer_from_static_src(&lexer, "main(): i32 { \nreturn 42;\n }");
parser_init(&parser, &lexer, scope);
ast_node_t *ast_function = parser_parse_function_declaration(&parser);
- assert_true(ast_function != NULL);
+
+ assert_not_null(ast_function);
char actual[5];