test+x86_64 +linux

Index

Functions

fn expectabort() void;
fn require(keyword: str) void;
fn skip(reason: str) never;

Functions

fn expectabort[link]

fn expectabort() void;

Expect the currently running test to abort. The test will fail if it doesn't abort.

fn require[link]

fn require(keyword: str) void;

Check the $HARETEST_INCLUDE space-delimited environment variable for keywords. If all the keywords are present, return void. Otherwise, skip the currently running test.

fn skip[link]

fn skip(reason: str) never;

Skip the currently running test.