X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F12-reap-block.t;h=a4e3d17badc9ade3ebec1b1504e8a8d1b7850327;hb=7505ee1e658a27b68ebe24c52c1db86694251bb4;hp=86e602210349e3dff90fc9abe5fd892c373a7336;hpb=bac4fc46c2d48ce5db75de6c88e0983aeeedf865;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/12-reap-block.t b/t/12-reap-block.t index 86e6022..a4e3d17 100644 --- a/t/12-reap-block.t +++ b/t/12-reap-block.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" ]; }; @@ -47,7 +48,7 @@ $testcase DIAG undef $testcase; } - Test::More::is($a, $b, $desc); + Test::Leaner::is($a, $b, $desc); } }