Testing module

fail

procedure · 1 overloadsince 0.28.0Source

Marks the test as failed and lets it go on.

fail :: (t: *Test, message := "failed", loc := #caller_location)

Marks the test as failed and lets it go on.

Parameters

t: *Test
the running test.
message := "failed"
what to report.
loc := #caller_location
where the check is written, shown when it fails. Leave the default.

See also