Results for ysh-expr.test.sh

statusoshosh-cpp
pass 3131
total3131
caseoshosh-cppdescription
0pass pass command sub $(echo hi)
1pass pass Set $HOME using 'var' (i.e. Oil string var in word evaluator)
2pass pass Use shell var in Oil expression
3pass pass Length doesn't apply to BashArray
4pass pass $[len(x)] inside strings
5pass pass Func with multiple args in multiple contexts
6pass pass Trailing Comma in Param list
7pass pass nested expr contexts
8pass pass YSH var used with shell arithmetic
9pass pass Parse { var x = 42 }
10pass pass double quoted
11pass pass double quoted respects strict_array
12pass pass simple var sub $name $0 $1 $? etc.
13pass pass braced var sub ${x:-default}
14pass pass braced var sub respects strict_array
15pass pass null / true / false
16pass pass multiline dict
17pass pass multiline array and command sub (only here docs disallowed)
18pass pass obj=>method() - remove?
19pass pass s->upper does NOT work, should be s.upper() or =>
20pass pass d.key
21pass pass a ++ b for string/list concatenation
22pass pass s ~~ glob and s !~~ glob
23pass pass Type Errors
24pass pass can't use ++ on integers
25pass pass can't do mystr ++ mylist
26pass pass expression literals
27pass pass No list comprehension in ^[]
28pass pass expression literals, evaluation failure
29pass pass expression literals, lazy evaluation
30pass pass expression literals, sugar for strings
62 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped