]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - t/11-reap-level.t
Rework how Scope::Upper::TestGenerator generates its 'local' tests
[perl/modules/Scope-Upper.git] / t / 11-reap-level.t
index 35ac03b3e1ca19895125338fe37ba7a0763a021e..d5f639eb5de05537c7a666cafbb72983ee57a83b 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 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);
  }
 }