diff --git a/src/parser_test.c b/src/parser_test.c index 95d9f98..961fd47 100644 --- a/src/parser_test.c +++ b/src/parser_test.c @@ -81,7 +81,7 @@ expect_expr(struct parser_test *pt, struct apfl_expr expected) test_fatalf(pt->t, "Extected an expression but got EOF"); break; case APFL_PARSE_ERROR: - test_failf(pt->t, "Got an error instead of an EOF"); + test_failf(pt->t, "Got an error instead of an expression"); apfl_error_print(apfl_parser_get_error(pt->parser), stderr); test_fatal(pt->t); break;