Testing module

expect_null

procedure · 1 overloadsince 0.28.0Source

Checks that pointer is null.

expect_null :: (pointer: *$T, loc := #caller_location) -> bool

Checks that pointer is null.

Parameters

pointer: *$T
the pointer that must be null.
loc := #caller_location
where the check is written, shown when it fails. Leave the default.

Returns

bool

See also