X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F85-stress-unwind.t;h=03dee8f641bf0678694747f7ffc6c0eba82e199f;hb=f1d34eeb61ec676615d9aafe69110af9b0dc302a;hp=5a59e7a01af26eae18b5be2d8682d2f2811d6561;hpb=df13e52b10dc5902a7f1a0b02dc7fb5eef429944;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/85-stress-unwind.t b/t/85-stress-unwind.t index 5a59e7a..03dee8f 100644 --- a/t/85-stress-unwind.t +++ b/t/85-stress-unwind.t @@ -3,14 +3,16 @@ 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", '' ] ]; };