sub dies-ok
1 | module Test |
1.1 | (Test) sub dies-ok |
Documentation for sub dies-ok
assembled from the following types:
module Test
From Test
(Test) sub dies-ok
Defined as:
multi sub dies-ok(Callable , = '')
Marks a test as passed if the given $code
throws an exception.
The function accepts an optional description of the test.
sub saruman(Bool :)dies-ok , "Saruman dies";