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
1 changed files with 5 additions and 0 deletions

View File

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