1234567891011121314 use Test::Effects;use 5.010;plan tests => 1;use lib 'tlib';{ use SetterErrorModule; effects_ok { SetterErrorModule::dont_succeed() } { die => qr{\A \QCan't call ON_FAILURE after compilation at $SetterErrorModule::CROAK_LINE\E }xms } => 'runtime fail_width() sub';};
use
Test::Effects;
5.010;
plan
tests
=> 1;
lib
'tlib'
;
{
SetterErrorModule;
effects_ok { SetterErrorModule::dont_succeed() }
die
=>
qr{\A \QCan't call ON_FAILURE after compilation at $SetterErrorModule::CROAK_LINE\E }
xms }
'runtime fail_width() sub'
};