Results for ysh-word-eval.test.sh

statusosh
pass 10
FAIL 1
total11
caseoshdescription
0pass Splice in array
1FAIL Assoc array can't be spliced directly
details
2pass Can't splice string
3pass Can't splice undefined
4pass echo $[f(x)] for various types
5pass echo $f (x) with space is runtime error
6pass echo @f (x) with space is runtime error
7pass echo $x for various types
8pass Wrong sigil with $range() is runtime error
9pass Can't serialize type List in an array? TODO: consider __str__
10pass Wrong sigil @[max(3, 4)]
10 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

osh1 Assoc array can't be spliced directly

[osh stdout] Expected 'bar\neggs\n', got ''
[osh status] Expected 3, got 2

stdout:
stderr: 
  declare -A A=(['foo']=bar ['spam']=eggs)
                 ^
[ stdin ]:2: Invalid quoted word part in YSH (OILS-ERR-17)