mirror of
https://github.com/MorizzG/MLox.git
synced 2025-12-06 04:22:41 +00:00
updated some exptected test outputs
This commit is contained in:
parent
d2a9964541
commit
446fde29d1
1 changed files with 7 additions and 1 deletions
|
|
@ -56,11 +56,13 @@ file assignment/global.lox
|
||||||
|
|
||||||
file assignment/grouping.lox
|
file assignment/grouping.lox
|
||||||
$ mlox assignment/grouping.lox
|
$ mlox assignment/grouping.lox
|
||||||
[1]
|
|
||||||
|
|
||||||
|
|
||||||
file assignment/infix_operator.lox
|
file assignment/infix_operator.lox
|
||||||
$ mlox assignment/infix_operator.lox
|
$ mlox assignment/infix_operator.lox
|
||||||
|
Invalid assignment target
|
||||||
|
found 1 ParserError:
|
||||||
|
ParserError at line 3, column 6: Invalid assignment target
|
||||||
[1]
|
[1]
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -74,6 +76,9 @@ file assignment/local.lox
|
||||||
|
|
||||||
file assignment/prefix_operator.lox
|
file assignment/prefix_operator.lox
|
||||||
$ mlox assignment/prefix_operator.lox
|
$ mlox assignment/prefix_operator.lox
|
||||||
|
Invalid assignment target
|
||||||
|
found 1 ParserError:
|
||||||
|
ParserError at line 2, column 3: Invalid assignment target
|
||||||
[1]
|
[1]
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -90,6 +95,7 @@ file assignment/to_this.lox
|
||||||
|
|
||||||
file assignment/undefined.lox
|
file assignment/undefined.lox
|
||||||
$ mlox assignment/undefined.lox
|
$ mlox assignment/undefined.lox
|
||||||
|
RuntimeError at line 1, column 8: tried to assign to undefined variable unknown
|
||||||
[1]
|
[1]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue