tests: unit: add unknown token parsing test

This commit is contained in:
Bruno BELANYI 2020-10-02 14:41:44 +02:00
parent 5dbdc979bd
commit e8aa5bd468

View file

@ -35,6 +35,11 @@ Test(parser, empty)
do_incorrect(""); do_incorrect("");
} }
Test(parser, unknown_token)
{
do_incorrect("@");
}
Test(parser, trailing_operator) Test(parser, trailing_operator)
{ {
do_incorrect("1 +"); do_incorrect("1 +");