Commit 02d2167
committed
Test that the action halts the lane when it aborts on violations
The suite stubs `UI.abort_with_message!` to a no-op so the other examples can
inspect the return value, which meant nothing proved the abort actually
terminates the lane — it was only asserted as "received". Add one example that
lets the real abort run (`and_call_original`) and asserts the action raises
rather than falling through to its return. Verified it bites: swapping the abort
for a non-halting `UI.error` makes this example fail.1 parent 81a3ae3 commit 02d2167
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
53 | 64 | | |
54 | 65 | | |
55 | 66 | | |
| |||
0 commit comments