mirror of
https://github.com/MorizzG/MLox.git
synced 2025-12-06 04:22:41 +00:00
activated tests for while loop
This commit is contained in:
parent
461225977f
commit
f30b0444e4
1 changed files with 11 additions and 2 deletions
13
lox.t/run.t
13
lox.t/run.t
|
|
@ -1305,10 +1305,19 @@ $ mlox while/return_inside.lox
|
||||||
|
|
||||||
|
|
||||||
file while/syntax.lox
|
file while/syntax.lox
|
||||||
$ mlox while/syntax.lox
|
$ mlox while/syntax.lox
|
||||||
|
1
|
||||||
|
2
|
||||||
|
3
|
||||||
|
0
|
||||||
|
1
|
||||||
|
2
|
||||||
|
|
||||||
|
|
||||||
file while/var_in_body.lox
|
file while/var_in_body.lox
|
||||||
$ mlox while/var_in_body.lox
|
$ mlox while/var_in_body.lox
|
||||||
|
found 1 ParserError:
|
||||||
|
ParserError at line 2, column 13: Expected valid expression, got Var instead
|
||||||
|
[1]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue