diff --git a/tests/unit/parse.c b/tests/unit/parse.c index d1a0a40..5ffcdad 100644 --- a/tests/unit/parse.c +++ b/tests/unit/parse.c @@ -35,6 +35,11 @@ Test(parser, empty) do_incorrect(""); } +Test(parser, unknown_token) +{ + do_incorrect("@"); +} + Test(parser, trailing_operator) { do_incorrect("1 +");