Documentation for sub pass
assembled from the following pages:
Module: Test §
From Test
(Test) sub pass §
Defined as:
multi sub pass( = '')
The pass
function marks a test as passed. flunk
marks a test as not passed. Both functions accept an optional test description.
pass "Actually, this test has passed";flunk "But this one hasn't passed";
Since these subroutines do not provide indication of what value was received and what was expected, they should be used sparingly, such as when evaluating a complex test condition.