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