Function xtp_test::assert

source ·
pub fn assert(msg: impl AsRef<str>, outcome: bool)
Expand description

Assert that the outcome is true, naming the assertion with msg, which will be used as a label in the CLI runner.