X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F11-reap-level.t;h=d5f639eb5de05537c7a666cafbb72983ee57a83b;hb=7505ee1e658a27b68ebe24c52c1db86694251bb4;hp=8880ef3d11327f9067eab87e437cd0715707b41d;hpb=4106be64bc49ed8698c505798cc260bb8ae242a5;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/11-reap-level.t b/t/11-reap-level.t index 8880ef3..d5f639e 100644 --- a/t/11-reap-level.t +++ b/t/11-reap-level.t @@ -3,15 +3,16 @@ use strict; use warnings; -use Test::More 'no_plan'; +use lib 't/lib'; +use Test::Leaner 'no_plan'; -use Scope::Upper qw/reap/; +use Scope::Upper qw; -use lib 't/lib'; use Scope::Upper::TestGenerator; local $Scope::Upper::TestGenerator::call = sub { my ($height, $level, $i) = @_; + $level = $level ? 'UP ' x $level : 'HERE'; return [ "reap \\&check => $level;\n" ]; }; @@ -38,7 +39,7 @@ $testcase DIAG undef $testcase; } - Test::More::is($a, $b, $desc); + Test::Leaner::is($a, $b, $desc); } }