]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - t/85-stress-unwind.t
Test that goto-to-uplevel does not mess up returned values
[perl/modules/Scope-Upper.git] / t / 85-stress-unwind.t
index c4712e55026059effd61cd0897b1e62f5981a0dc..fa52bcd07b34eb83e22d7cf6505610298a5dda76 100644 (file)
@@ -3,9 +3,10 @@
 use strict;
 use warnings;
 
-use Test::More 'no_plan';
+use lib 't/lib';
+use Test::Leaner 'no_plan';
 
-use Scope::Upper qw/unwind UP HERE/;
+use Scope::Upper qw<unwind UP HERE>;
 
 our ($call, @args, $args);
 
@@ -87,7 +88,7 @@ DIAG
  }
 }
 
-for ([ ], [ 'A' ], [ qw/B C/ ]) {
+for ([ ], [ 'A' ], [ qw<B C> ]) {
  @args = @$_;
  $args = '(' . join(', ', map "'$_'", @args) . ')';
  runtests 0, 0;