]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - t/21-localize-level.t
Run lengthy tests with Test::Leaner
[perl/modules/Scope-Upper.git] / t / 21-localize-level.t
index 58c75d7dc2aa6e4b5e90c07ce6a6d9d737e38541..35a660072fbb7fbad20c3f840cc794cf37b0ca73 100644 (file)
@@ -3,11 +3,11 @@
 use strict;
 use warnings;
 
-use Test::More 'no_plan'; 
+use lib 't/lib';
+use Test::Leaner 'no_plan';
 
 use Scope::Upper qw/localize UP HERE/;
 
-use lib 't/lib';
 use Scope::Upper::TestGenerator;
 
 local $Scope::Upper::TestGenerator::call = sub {
@@ -37,7 +37,7 @@ $testcase
 DIAG
    undef $testcase;
   }
-  Test::More::is($a, $b, $desc);
+  Test::Leaner::is($a, $b, $desc);
  }
 }