nok
ErrorsCollection

nok

Synthesised documentation from type/Test

From type/Test

See Original text in context

multi sub nok(Mu $cond$desc = '')

The nok function marks a test as passed if the given $cond evaluates to False. It also accepts an optional description of the test as second argument.

my $responsemy $query...;
nok $query.error'Query completed without error';