Results for oil-slice-range.test.sh

statusosh
pass 10
FAIL 2
total12
caseoshdescription
0pass ranges have higher precedence than comparison (disabled)
1pass ranges have lower precedence than bitwise operators
2pass subscript and range of array
3pass subscript and range of list
4pass expressions and negative indices
5pass Explicit slice with step
6pass Index with a Tuple
7pass Index with expression
8pass Copy wtih a[:]
9FAIL Slices with Multiple Dimensions (for QTT)
details
10FAIL Index a list with a range, not a slice. TODO: Figure out semantics
details
11pass Range with list constructor
10 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh9 Slices with Multiple Dimensions (for QTT)

[osh stdout] Expected "(Str) 'TODO: Table Slicing'\n(Str) 'TODO: Table Slicing'\n" Got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  qtt pretty :mytable <<< '''
  ^~~
[ stdin ]:1: 'qtt' not found
  var t1 = mytable[2:, :]
           ^~~~~~~
[ stdin ]:8: fatal: Undefined variable 'mytable'
osh10 Index a list with a range, not a slice. TODO: Figure out semantics

[osh stdout] Expected 'TODO\n', got ''

stdout:
stderr: 
  var myslice = mylist[r]
  ^~~
[ stdin ]:4: fatal: Type error in expression: list indices must be integers, not xrange