spec test index / oilshell.org
status | ysh | |
pass | 7 | |
FAIL | 1 | |
total | 8 | |
case | ysh | description |
0 | pass | ctx push and set |
1 | pass | ctx emit |
2 | pass | nested ctx |
3 | pass | error in context |
4 | pass | no context, set |
5 | pass | no context, emit |
6 | FAIL | mini-parseArgs |
details | ||
7 | pass | ctx with value.Place, not List/Dict (error location bug fix) |
7 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
ysh | 6 mini-parseArgs [ysh stdout] Expected '{\n "flag": [\n {\n "short_name": "-t",\n "long_name": "--tsv",\n "type": "Bool",\n "help": "Output as a TSV"\n },\n {\n "short_name": "-r",\n "long_name": "--recursive",\n "type": "Bool",\n "help": "Recurse into the given directory"\n },\n {\n "short_name": "-N",\n "long_name": "--count",\n "type": "Int",\n "help": "Process no more than N files"\n }\n ],\n "arg": [\n {\n "name": "path"\n }\n ]\n}\n' Got '' [ysh status] Expected 0, got 1 stdout: stderr: flag -t --tsv (Bool, help='Output as a TSV') ^ [ stdin ]:18: fatal: 'flag' appears to be external. External commands don't accept typed args (OILS-ERR-200) |