Skip to content

Commit

Permalink
Fix copy paste error in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Oct 27, 2023
1 parent f7dc80a commit f5c55a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/Geo/Coder/Abbreviations.pm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ sub new {
my $class = ref($proto) || $proto;

if(!defined($class)) {
# Using CGI::Info->new(), not CGI::Info::new()
# Using Geo::Coder::Abbreviations->new(), not Geo::Coder::Abbreviations::new()
# carp(__PACKAGE__, ' use ->new() not ::new() to instantiate');
# return;

Expand Down
16 changes: 8 additions & 8 deletions t/links.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ use strict;
use warnings;
use Test::Most;

if(not $ENV{AUTHOR_TESTING}) {
plan(skip_all => 'Author tests not required for installation');
}

eval "use Test::Pod::LinkCheck";
if($@) {
plan skip_all => 'Test::Pod::LinkCheck required for testing POD';
if($ENV{AUTHOR_TESTING}) {
eval 'use Test::Pod::LinkCheck';
if($@) {
plan(skip_all => 'Test::Pod::LinkCheck required for testing POD');
} else {
Test::Pod::LinkCheck->new->all_pod_ok();
}
} else {
Test::Pod::LinkCheck->new->all_pod_ok();
plan(skip_all => 'Author tests not required for installation');
}

0 comments on commit f5c55a4

Please sign in to comment.