X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F12-reap-block.t;h=fda9aca7d12686cea427af58d8df21c905b605aa;hb=c51f72ece23a7afb5590272f6aeca327b91a3945;hp=a4e3d17badc9ade3ebec1b1504e8a8d1b7850327;hpb=6d9ec3d17a2589cf3a259893f7ae752f5474ecf5;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/12-reap-block.t b/t/12-reap-block.t index a4e3d17..fda9aca 100644 --- a/t/12-reap-block.t +++ b/t/12-reap-block.t @@ -22,12 +22,12 @@ local $Scope::Upper::TestGenerator::test = sub { return "is(\$x, $j, 'x h=$height, l=$level, i=$i');\n"; }; -local $Scope::Upper::TestGenerator::local = sub { +local $Scope::Upper::TestGenerator::local_decl = sub { my ($height, $level, $i, $x) = @_; return $i == $height - $level ? "\$x = $x;\n" : "local \$x = $x;\n"; }; -local $Scope::Upper::TestGenerator::testlocal = sub { '' }; +local $Scope::Upper::TestGenerator::local_test = sub { '' }; local $Scope::Upper::TestGenerator::allblocks = 1;