| status | osh | |
| pass | 4 | |
| FAIL | 3 | |
| total | 7 | |
| case | osh | description |
| 0 | pass | "in" and "not in" on Dicts |
| 1 | FAIL | dict with 'bare word' keys |
| details | ||
| 2 | FAIL | dict with expression keys |
| details | ||
| 3 | FAIL | dict literal with implicit value |
| details | ||
| 4 | pass | Dict literal with string keys |
| 5 | pass | keys(d), values(d), get(d, key) |
| 6 | pass | get() has default null |
4 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
| osh | 1 dict with 'bare word' keys [osh stdout] Expected 'len=0\nlen=1\nlen=2\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: echo len=$[len(d0)]
^
[ stdin ]:2: Unexpected token after arithmetic expression (Id.Arith_LParen != Id.Arith_RBracket)
|
| osh | 2 dict with expression keys [osh stdout] Expected 'len=1\nhello\nlen=1\nbar\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: echo len=$[len(d1)]
^
[ stdin ]:2: Unexpected token after arithmetic expression (Id.Arith_LParen != Id.Arith_RBracket)
|
| osh | 3 dict literal with implicit value [osh stdout] Expected 'len=1\nfoo\nlen=2\nfoo\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: echo len=$[len(d1)]
^
[ stdin ]:3: Unexpected token after arithmetic expression (Id.Arith_LParen != Id.Arith_RBracket)
|