Skip to content

std:test/Assertions

Canonical occurrence: protos/lib/test/Assertions.protos · Protos revision: e99b712ecf658a527b1fe82c8beba2c1286d8dc9.

Assertion helpers for Protos tests.

This page lists the complete mechanically observable top-level slot inventory required by D067. Authored documentation, when present, is canonical D062 prose; mechanical presence alone does not create a stability or compatibility promise.

The Error prototype signalled when an assertion helper fails.

No callable shape is mechanically recorded for this slot.

Signals an AssertionFailure when condition is false and answers null when it is true. Any other value signals an Error.

Runs body and answers the Error it signals when that Error is handled by errorPrototype; signals an AssertionFailure when no such Error is signalled.

Exact module source · Standard-library API · Standard library overview