Results for ysh-builtin-error.test.sh

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