Kyle Hasselbacher (via RT) wrote:
> Sometimes something dies, as it should, but with the wrong error.  The
> best way to test this is to specify the correct error, but we don't
> always have the correct error.  This patch makes dies_ok reject a
> particular Rakudo-specific error that is always incorrect.

I like the idea very much, but the current implementation is a bit
confusing. The test code dies, but dies_ok still fails. Maybe adding a
diag($explanation) might improve that. (Maybe I get around to implement
that, but right now I'm not very concentrated).

Cheers,
Moritz

Reply via email to