Re: dies-ok can return ok on everything dying

2017-04-18 Thread Timo Paulssen
You will be delighted to learn of the existence of the "throws-like" subroutine in rakudo's Test.pm There's also lots and lots of examples for its usage (and its power!) in perl6/roast. HTH - Timo

dies-ok can return ok on everything dying

2017-04-18 Thread mt1957
Hi, I've encountered a little problem using dies-ok() from the Test module; The case was that I made an error within the block used as the first argument to dies-ok. In that particular case the perl6 compiler hurled an exception and dies-ok accepted it as an ok action which was not ok because