mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-23 02:01:54 +03:00
11 lines
893 B
Plaintext
11 lines
893 B
Plaintext
|
---
|
||
|
namespace: ParseStatement
|
||
|
expectation: Fail
|
||
|
outputs:
|
||
|
- "Error [EPAR0370005]: expected ( -- found '['\n --> test:1:10\n |\n 1 | increment[foo, bar, baz];\n | ^"
|
||
|
- "Error [EPAR0370005]: expected , -- found ')'\n --> test:1:19\n |\n 1 | increment(foo, bar);\n | ^"
|
||
|
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ')'\n --> test:1:11\n |\n 1 | increment();\n | ^"
|
||
|
- "Error [EPAR0370005]: expected , -- found ')'\n --> test:1:15\n |\n 1 | increment(floo)\n | ^"
|
||
|
- "Error [EPAR0370005]: expected ( -- found 'foo'\n --> test:1:11\n |\n 1 | increment foo[bar] by baz;\n | ^^^"
|
||
|
- "Error [EPAR0370022]: Expression statements are not supported.\n --> test:1:1\n |\n 1 | incremet(foo, bar, baz);\n | ^^^^^^^^^^^^^^^^^^^^^^^^"
|