spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 13 | 13 | |
FAIL | 1 | 1 | |
total | 14 | 14 | |
case | osh | osh-cpp | description |
0 | pass | pass | precedence of 1:3 vs comparison |
1 | pass | pass | precedence of 1:3 vs bitwise operator |
2 | pass | pass | subscript and slice :| 1 2 3 4 | |
3 | pass | pass | Range end points can be int-looking Strings |
4 | pass | pass | Slice indices can be int-looking strings |
5 | pass | pass | slice subscripts are adjusted like Python |
6 | pass | pass | subscript and slice of List |
7 | pass | pass | expressions and negative indices |
8 | pass | pass | Index with expression |
9 | pass | pass | Copy with a[:] |
10 | pass | pass | Iterate over range |
11 | pass | pass | Loops over bogus ranges terminate |
12 | FAIL | FAIL | Slices with Multiple Dimensions (for TSV8?) |
details | details | ||
13 | pass | pass | Closed ranges |
26 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 12 Slices with Multiple Dimensions (for TSV8?) [osh stdout] Expected "(Str) 'TODO: Table Slicing'\n(Str) 'TODO: Table Slicing'\n" Got '' [osh status] Expected 0, got 2 stdout: stderr: qtt pretty :mytable <<< ''' ^~~ [ stdin ]:1: 'qtt' not found (OILS-ERR-100) var t1 = mytable[2:, :] ^ [ stdin ]:8: Only 1 subscript is accepted |
osh-cpp | 12 Slices with Multiple Dimensions (for TSV8?) [osh-cpp stdout] Expected "(Str) 'TODO: Table Slicing'\n(Str) 'TODO: Table Slicing'\n" Got '' [osh-cpp status] Expected 0, got 2 stdout: stderr: qtt pretty :mytable <<< ''' ^~~ [ stdin ]:1: 'qtt' not found (OILS-ERR-100) var t1 = mytable[2:, :] ^ [ stdin ]:8: Only 1 subscript is accepted |