spec test index / oilshell.org
case | bash | description |
0 | pass | TODO: SETUP should be share |
1 | pass | retrieve indices with ! |
2 | pass | $a gives nothing |
3 | pass | length of dict does not work |
4 | pass | index by number doesn't work |
5 | pass | index by key name |
6 | pass | index by quoted string |
7 | pass | index by unquoted string |
8 | pass | index by unquoted string as arithmetic |
9 | pass | WTF index by key name |
10 | pass | Array stored in associative array gets converted to string |
11 | BUG | Can't initialize assoc array with indexed array |
details | ||
12 | BUG | Initializing indexed array with with assoc array drops the constants |
details |
11 passed, 0 ok, 0 known unimplemented, 2 known bugs, 0 failed, 0 skipped
bash | 11 Can't initialize assoc array with indexed array stdout: stderr: /bin/bash: line 1: A: 1: must use subscript when assigning associative array /bin/bash: line 1: A: 2: must use subscript when assigning associative array /bin/bash: line 1: A: 3: must use subscript when assigning associative array |
bash | 12 Initializing indexed array with with assoc array drops the constants stdout: 3stderr: |