use strict;
use warnings;
-use Test::More 'no_plan';
+use lib 't/lib';
+use Test::Leaner 'no_plan';
-use Scope::Upper qw/unwind/;
+use Scope::Upper qw<unwind UP HERE>;
our ($call, @args, $args);
$call = sub {
my ($height, $level, $i) = @_;
+ $level = $level ? 'UP ' x $level : 'HERE';
return [ [ "unwind(\@args => $level)\n", '' ] ];
};
}
}
-for ([ ], [ 'A' ], [ qw/B C/ ]) {
+for ([ ], [ 'A' ], [ qw<B C> ]) {
@args = @$_;
$args = '(' . join(', ', map "'$_'", @args) . ')';
runtests 0, 0;