tests: unit: add unknown token parsing test
This commit is contained in:
parent
5dbdc979bd
commit
e8aa5bd468
|
@ -35,6 +35,11 @@ Test(parser, empty)
|
|||
do_incorrect("");
|
||||
}
|
||||
|
||||
Test(parser, unknown_token)
|
||||
{
|
||||
do_incorrect("@");
|
||||
}
|
||||
|
||||
Test(parser, trailing_operator)
|
||||
{
|
||||
do_incorrect("1 +");
|
||||
|
|
Loading…
Reference in a new issue