Results for oil-slice-range.test.sh

statusoshosh_ALT
pass 1313
FAIL 11
total1414
caseoshosh_ALTdescription
0pass pass ranges have higher precedence than comparison (disabled)
1pass pass ranges have lower precedence than bitwise operators
2pass pass subscript and range of array
3pass pass subscript and range of list
4pass pass expressions and negative indices
5pass pass Range loop
6pass pass Explicit range with step
7pass pass Explicit slice with step
8pass pass Index with a Tuple
9pass pass Index with expression
10pass pass Copy wtih a[:]
11pass pass Slices with Multiple Dimensions (with Table/data frame)
12FAIL FAIL Index a list with a range, not a slice. TODO: Figure out semantics
detailsdetails
13pass pass Range with list constructor
26 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh12 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
osh_ALT12 Index a list with a range, not a slice. TODO: Figure out semantics

[osh_ALT 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