spec test index / oilshell.org
status | oil | |
pass | 19 | |
total | 19 | |
case | oil | description |
0 | pass | integers expression and augmented assignment |
1 | pass | proc static check: const can't be mutated |
2 | pass | top-level dynamic check: const can't be be mutated |
3 | pass | top level: var can be redefined by var/const |
4 | pass | setvar mutates local |
5 | pass | top level: setvar creates global |
6 | pass | top level: setvar mutates var |
7 | pass | proc static check: variable changed by setvar must be declared |
8 | pass | setglobal |
9 | pass | setglobal of undeclared var is allowed |
10 | pass | var/setvar x, y = 1, 2 |
11 | pass | setvar d->key = 42 (setitem) |
12 | pass | setvar mylist[1] = 42 (setitem) |
13 | pass | mixing assignment builtins and Oil assignment |
14 | pass | setref out = 'YY' |
15 | pass | setref composes: 2 levels deep |
16 | pass | circular dict |
17 | pass | circular list |
18 | pass | exit code of var, const, setvar with command sub |
19 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped