X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F81-stress-level.t;h=ddc78e8274237260cde0e64aa92bb5362c297a9c;hb=2236279ceecd37fc3e752bdf1142808a0f671d6e;hp=5dd5d435d18584dba18c043620f5e1c886c1e92b;hpb=4106be64bc49ed8698c505798cc260bb8ae242a5;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/81-stress-level.t b/t/81-stress-level.t index 5dd5d43..ddc78e8 100644 --- a/t/81-stress-level.t +++ b/t/81-stress-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); } }