Results for ysh-builtin-ctx.test.sh

statusyshysh_ALT
pass 77
FAIL 11
total88
caseyshysh_ALTdescription
0pass pass ctx push and set
1pass pass ctx emit
2pass pass nested ctx
3pass pass error in context
4pass pass no context, set
5pass pass no context, emit
6FAIL FAIL mini-parseArgs
detailsdetails
7pass pass ctx with value.Place, not List/Dict (error location bug fix)
14 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

ysh6 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)
ysh_ALT6 mini-parseArgs

[ysh_ALT 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_ALT 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)