Results for ysh-builtin-error.test.sh

statusysh
pass 20
total20
caseyshdescription
0pass User errors behave like builtin errors
1pass _error register is initially empty dict
2pass error builtin sets _error.message, which can be used by programs
3pass error builtin adds named args as properties on _error Dict
4pass Errors within multiple functions
5pass Impact of errors on var declaration
6pass default error code is 10
7pass error code should be an integer
8pass Error code should be named arg, not positional
9pass error cannot take word args
10pass error requires arguments
11pass error cannot have a code of 0
12pass try { error oops }
13pass Handle _error.code
14pass failed builtin usage
15pass failed builtin
16pass assert on values
17pass assert on expressions
18pass assert on expression that fails
19pass assert on chained comparison expression is not special
20 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped