spec test index / oilshell.org
status | ysh | |
pass | 13 | |
total | 13 | |
case | ysh | description |
0 | pass | User errors behave like builtin errors |
1 | pass | _error register is initially empty dict |
2 | pass | Error sets _error.message, which can be used by programs |
3 | pass | error builtin adds named args as properties on _error Dict |
4 | pass | Errors within multiple functions |
5 | pass | Impact of errors on var declaration |
6 | pass | Error defaults status to 10 |
7 | pass | Error expects an int status |
8 | pass | Error typed arg, not named arg |
9 | pass | Errors cannot take command args |
10 | pass | Error must take arguments |
11 | pass | Errors cannot have a status of 0 |
12 | pass | Two styles of try with error builtin behave the same way (bug) |
13 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped