Results for ysh-list.test.sh

statusysh
pass 17
FAIL 1
total18
caseyshdescription
0pass shell array :| a 'b c' |
1pass empty array and simple_word_eval (regression test)
2pass Empty array and assignment builtin (regression)
3FAIL Shell arrays support tilde detection, static globbing, brace detection
details
4pass Basic List, a[42] a['42'] allowed
5pass Mutate List entries, a[42] a['42'] allowed
6pass string array with command sub, varsub, etc.
7pass Can print type of List with pp
8pass splice and stringify array
9pass List->extend()
10pass List append()/extend() should return null
11pass List pop()
12pass List remove() removes elements
13pass List remove() does nothing if element does not exist
14pass List insert()
15pass List insert() overflow
16pass List insert() negative
17pass List insert() negative overflow
17 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

ysh3 Shell arrays support tilde detection, static globbing, brace detection

[ysh stdout] Expected "['/home/bob/src', 'bar.py', 'foo.py', 'andy@example.com', 'bob@example.com', '*.py']\n" Got ''
[ysh status] Expected 0, got 2

stdout:
stderr: 
  no_dynamic_glob='*.py'
                  ^
[ stdin ]:5: Invalid quoted word part in YSH (OILS-ERR-17)