Commit e9f4ec4
testsuite: correct stale command-execution and exit-code docstrings (#145)
Follow-up to #130, fixing docstring inaccuracies that the same cleanup
left in place. Behaviour unchanged — comments only.
- The module docstring claimed "Only `module`, `assert_return`,
`assert_trap`, and `action` are executed". `register` (executed since
it records a binding) and `assert_exception` are also executed; list
them.
- It listed `assert_invalid`/`assert_malformed` under "reported as
`Skipped(<kind>)`", but those are executed: we decode and validate the
module, `Pass` on correct rejection, and `Skipped(<kind>: not rejected)`
only on wrongful acceptance. This also matches the `skippedBucket`
comment #130 added.
- The "Exit code: nonzero iff any `Fail`/`InterpreterError`/`OutOfFuel`"
line ignored the exit-code-3 setup-failure paths (bad args, unreadable
testsuite dir, no matching files, temp-dir failure). Spell out both
codes.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 1c30ff2 commit e9f4ec4
1 file changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
0 commit comments