Testing · rule
test.unexpected_failure
Test ended in a failure it did not expect.
Area 13, Testing; not declinable; the next step is usually the agent's.
A call under attempt failed, so the test ended with a failure it didn't
check for:
test "the top priority can still be raised" { var bumped: Priority = attempt raise_priority(9) assert bumped == 9}
FAIL the top priority can still be raised --> priorities.test.jadpo:2 failure: `PriorityTooHigh` from action raise_priority at: priorities.jadpo:11:36 |11 | var higher: Priority = attempt Priority(priority + 1) { | ^^^^^^^^^^^^^^^^^^^^^^ breaks `max: 9` reason: The value built here breaks `max: 9`, so `attempt` raises the failure its block maps that rule to. code: priority_too_high kind: FailureKind.invalid_value path: test "the top priority can still be raised" -> action raise_priority rule: test.unexpected_failure rerun: jadpo test priorities.test.jadpo:2 --seed 1test failed: 1 failed, 1 action test
Markdown for agents: /docs/errors/test.unexpected_failure.md.Built from Jadpo main at a707efb.