sub eval-lives-ok
Documentation for sub eval-lives-ok
assembled from the following types:
module Test
From Test
(Test) sub eval-lives-ok
Defined as:
multi sub eval-lives-ok(Str $code, $reason = '')
Marks a test as passed if the given $string
does not throw an exception when eval
ed as code.
The function accepts an optional description of the test.
eval-lives-ok q[my $daenerys-burns = False; die "Oops, Khaleesi now ashes" if $daenerys-burns], "Dany is blood of the dragon";