]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - t/22-localize-block.t
Run lengthy tests with Test::Leaner
[perl/modules/Scope-Upper.git] / t / 22-localize-block.t
index f48063a2f6b2ec3165eeab0d54496b35fa325f3f..a41fcd0aa9ad174282da6f4ca47011efe7d5fb2f 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 {
@@ -41,7 +41,7 @@ $testcase
 DIAG
    undef $testcase;
   }
-  Test::More::is($a, $b, $desc);
+  Test::Leaner::is($a, $b, $desc);
  }
 }