Results for ysh-builtin-argparse.test.sh

statusysh
FAIL 2
total2
caseyshdescription
0FAIL Argparse bool option and positional
details
1FAIL Argparse basic help message
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

ysh0 Argparse bool option and positional

[ysh stdout] Expected '{\n "verbose": true,\n "src": "src/path",\n "dst": "dst/path"\n}\n[\n\n]\n' Got ''
[ysh status] Expected 0, got 2

stdout:
stderr: 
  argparse (myspec, args, :opts)
                          ^
[ stdin ]:10: Syntax error in expression (near Id.Arith_Colon)
ysh1 Argparse basic help message

[ysh stdout] Expected 'usage: program-name [-h] [-v] src dst\n\nReference Implementation\n\npositional arguments:\n src\n dst\n\noptions:\n -h, --help show this help message and exit\n -v, --verbose Verbose\n' Got ''
[ysh status] Expected 0, got 2

stdout:
stderr: 
  argparse (myspec, args, :opts)
                          ^
[ stdin ]:15: Syntax error in expression (near Id.Arith_Colon)