X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F21-ok-failing.t;h=36ab4201f488fe15d6ba189927f5845295782b5d;hb=a615878a77fd5a9ae493272815373f1641cb951b;hp=c00ab83db7e3622cbd1584bd8335242174ee8bf5;hpb=6c548b9b29eaa5e43616cb1c9422d0fd6b85121c;p=perl%2Fmodules%2FTest-Leaner.git diff --git a/t/21-ok-failing.t b/t/21-ok-failing.t index c00ab83..36ab420 100644 --- a/t/21-ok-failing.t +++ b/t/21-ok-failing.t @@ -5,6 +5,8 @@ use warnings; use Test::More; +BEGIN { delete $ENV{PERL_TEST_LEANER_USES_TEST_MORE} } + use Test::Leaner (); use lib 't/lib'; @@ -52,7 +54,10 @@ reset_buffer { { package Test::Leaner::TestOverload::AlwaysFalse; - use overload 'bool' => sub { !1 }; + use overload ( + 'bool' => sub { !1 }, + '""' => sub { 'true' }, + ); sub new { bless { }, shift } }