Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Testing

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:

example
test "the top priority can still be raised" {    var bumped: Priority = attempt raise_priority(9)    assert bumped == 9}
text
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.