spec test index / oilshell.org
status | osh | |
pass | 8 | |
FAIL | 3 | |
total | 11 | |
case | osh | description |
0 | FAIL | precedence of 1:3 vs comparison |
details | ||
1 | FAIL | precedence of 1:3 vs bitwise operator |
details | ||
2 | pass | subscript and slice :| 1 2 3 4 | |
3 | pass | slice subscripts are adjusted like Python |
4 | pass | subscript and slice of List |
5 | pass | expressions and negative indices |
6 | pass | Index with expression |
7 | pass | Copy with a[:] |
8 | pass | Iterate over range |
9 | pass | Loops over bogus ranges terminate |
10 | FAIL | Slices with Multiple Dimensions (for TSV8?) |
details |
8 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 0 precedence of 1:3 vs comparison [osh stdout] Expected '(Range) 1 .. 3\n', got '(Range 1 .. 3)\n' stdout: (Range 1 .. 3)stderr: |
osh | 1 precedence of 1:3 vs bitwise operator [osh stdout] Expected '(Range) 3 .. 7\n', got '(Range 3 .. 7)\n' stdout: (Range 3 .. 7)stderr: |
osh | 10 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 |