]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - t/22-localize-block.t
Do less function calls in Scope::Upper::TestGenerator::gen()
[perl/modules/Scope-Upper.git] / t / 22-localize-block.t
index a41fcd0aa9ad174282da6f4ca47011efe7d5fb2f..b32d25113a8cc12a60270b13cd1f002efaad5a22 100644 (file)
@@ -6,7 +6,7 @@ use warnings;
 use lib 't/lib';
 use Test::Leaner 'no_plan';
 
-use Scope::Upper qw/localize UP HERE/;
+use Scope::Upper qw<localize UP HERE>;
 
 use Scope::Upper::TestGenerator;
 
@@ -22,7 +22,7 @@ local $Scope::Upper::TestGenerator::test = sub {
  return "is(\$x, $j, 'x h=$height, l=$level, i=$i');\n";
 };
 
-local $Scope::Upper::TestGenerator::testlocal = sub { '' };
+local $Scope::Upper::TestGenerator::local_test = sub { '' };
 
 local $Scope::Upper::TestGenerator::allblocks = 1;