Results for ysh-for.test.sh

statusysh
pass 14
FAIL 1
total15
caseyshdescription
0pass For loop over expression: list
1pass For loop over expression: dict
2FAIL For loop over expression: range (low priority)
details
3pass Shell for loop with index (equivalent of enumerate())
4pass 3 indices with (mylist) is a runtime error
5pass Shell for loop can't have 3 indices
6pass Any for loop can't have 4 indiecs
7pass Expression for loop with index: list
8pass Expression for loop with index: dict (TODO: define dict iter order)
9pass dict: index key value loop (TODO: define dict iter order)
10pass Equivalent of zip()
11pass Iterate over shell data structures
12pass parse_bare_word eliminates confusion
13pass Object that's not iterable
14pass Oil for with brace substitution and glob
14 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

ysh2 For loop over expression: range (low priority)

[ysh stdout] Expected 'i 0\ni 1\ni 2\n', got ''
[ysh status] Expected 0, got 2

stdout:
stderr: 
[??? no location ???] Ranges not implemented