sub nok

Documentation for sub nok assembled from the following types:

module Test

From Test

(Test) sub nok

Defined as:

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';