P0010

t.assert(cond) was given false. Fails the test (see Tests). Spans the call.

Machine-applicable fix: none.

Example

This program fails with P0010.

test "is positive" {
    t.assert(1 < 0)
}

Fixed

The same program, fixed.

test "is positive" {
    t.assert(0 < 1)
}

Listed in the runtime notes. oskac explain P0010 prints this entry offline.

All error codes