spec test index / oilshell.org
status | ysh | ysh_ALT | |
pass | 8 | 8 | |
FAIL | 2 | 2 | |
total | 10 | 10 | |
case | ysh | ysh_ALT | description |
0 | pass | pass | Object() creates prototype chain |
1 | pass | pass | prototype() |
2 | pass | pass | propView() |
3 | pass | pass | Mutating method lookup with -> |
4 | pass | pass | Copy to Dict with dict(), and mutate |
5 | pass | pass | setvar obj.attr = and += and ... |
6 | pass | pass | can't encode objects as JSON |
7 | FAIL | FAIL | pretty printing of cycles |
details | details | ||
8 | pass | pass | Can all builtin methods with s.upper() |
9 | FAIL | FAIL | Dict.keys(d), Dict.values(d), Dict.get(d, key) |
details | details |
16 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 2 failed under osh
ysh | 7 pretty printing of cycles [ysh stdout] Expected '', got '(Dict) {"k":42,"cycle":{ --> 0x7efc0e404680 }}\n(Obj) {"k":42,"cycle":{"k":42,"cycle":{ --> 0x7efc0e404680 }}}\n(Obj) {"z":99} ==> {"k":42,"cycle":{"k":42,"cycle":{ --> 0x7efc0e404680 }}}\n' stdout: (Dict) {"k":42,"cycle":{ --> 0x7efc0e404680 }} (Obj) {"k":42,"cycle":{"k":42,"cycle":{ --> 0x7efc0e404680 }}} (Obj) {"z":99} ==> {"k":42,"cycle":{"k":42,"cycle":{ --> 0x7efc0e404680 }}}stderr: |
ysh_ALT | 7 pretty printing of cycles [ysh_ALT stdout] Expected '', got '(Dict) {"k":42,"cycle":{ --> 0x7f51d7205ac8 }}\n(Obj) {"k":42,"cycle":{"k":42,"cycle":{ --> 0x7f51d7205ac8 }}}\n(Obj) {"z":99} ==> {"k":42,"cycle":{"k":42,"cycle":{ --> 0x7f51d7205ac8 }}}\n' stdout: (Dict) {"k":42,"cycle":{ --> 0x7f51d7205ac8 }} (Obj) {"k":42,"cycle":{"k":42,"cycle":{ --> 0x7f51d7205ac8 }}} (Obj) {"z":99} ==> {"k":42,"cycle":{"k":42,"cycle":{ --> 0x7f51d7205ac8 }}}stderr: |
ysh | 9 Dict.keys(d), Dict.values(d), Dict.get(d, key) [ysh status] Expected 0, got 1 stdout: stderr: pp test_ (Dict.keys(d)) ^~~~ [ stdin ]:3: fatal: Undefined variable 'Dict' |
ysh_ALT | 9 Dict.keys(d), Dict.values(d), Dict.get(d, key) [ysh_ALT status] Expected 0, got 1 stdout: stderr: pp test_ (Dict.keys(d)) ^~~~ [ stdin ]:3: fatal: Undefined variable 'Dict' |