X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F55-unwind-multi.t;h=dd8c727393197fd3873028128951e5f4e9644d41;hb=b74d16df98351c4bacb0a1a9d029ce7d7924591f;hp=aa37026a69568463dfa937504720c441333d9da3;hpb=f4c54ceec84d4ccfa3fefc4e13ee0932223faea5;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/55-unwind-multi.t b/t/55-unwind-multi.t index aa37026..dd8c727 100644 --- a/t/55-unwind-multi.t +++ b/t/55-unwind-multi.t @@ -5,7 +5,7 @@ use warnings; use Test::More tests => 13; -use Scope::Upper qw/unwind/; +use Scope::Upper qw/unwind SCOPE/; my ($l1, $l2); @@ -17,10 +17,10 @@ sub c { unwind("eval", eval { do { for (3, 4, 5) { - 1, unwind('from', 'the', 'sub', 'c' => $l1); + 1, unwind('from', 'the', 'sub', 'c' => SCOPE $l1); } } - } => $l2); + } => SCOPE $l2); }->(2, 3, 4); return 'in c' }