ysh-case () { run-file ysh-case "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" } ysh-case: spec test case results

Results for ysh-case.test.sh

statusysh
pass 18
total18
caseyshdescription
0pass case syntax, one line
1pass case syntax, multiline
2pass case syntax, simple expressions
3pass case syntax, complex expressions
4pass case semantics, no match
5pass eggex as case arm
6pass eggex respects flags
7pass empty case statement
8pass typed args
9pass eggex capture
10pass else case pattern
11pass expression evaluation shortcuts
12pass expression evaluation order
13pass word evaluation shortcuts
14pass word evaluation order
15pass only one branch is evaluated
16pass stop on errors
17pass old and new case statements
18 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped