]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - t/81-stress-level.t
Run lengthy tests with Test::Leaner
[perl/modules/Scope-Upper.git] / t / 81-stress-level.t
index 117e5c46d882fd4ad0452b573f4cb79e6d20b5f4..56dfa308c52e86cda07afd20975491db2250c674 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/reap UP HERE/;
 
-use lib 't/lib';
 use Scope::Upper::TestGenerator;
 
 local $Scope::Upper::TestGenerator::call = sub {
@@ -39,7 +39,7 @@ $testcase
 DIAG
    undef $testcase;
   }
-  Test::More::is($a, $b, $desc);
+  Test::Leaner::is($a, $b, $desc);
  }
 }