Skip to content

Commit

Permalink
Merge pull request #15 from paultcochrane/pr/make-loop-var-lexical
Browse files Browse the repository at this point in the history
Restrict loop variable scope to loop
  • Loading branch information
briandfoy committed Oct 10, 2017
2 parents afc2448 + f8184fc commit 1c002ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions t/dist_version.t
Expand Up @@ -102,8 +102,7 @@ subtest 'three part versions' => sub {
['Foo' => '', "...with no suffix"],
);

my $case;
foreach $case (@cases) {
foreach my $case (@cases) {
my ($dist_name, $expected_version, $descr) = @$case;
my $mock = bless { remote_file => $dist_name }, $class;
my $got_version = $mock->dist_version;
Expand Down

0 comments on commit 1c002ca

Please sign in to comment.