-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nigel Horne
committed
Mar 2, 2021
1 parent
69a5a3e
commit af576eb
Showing
5 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ t/pod.t | |
t/port.t | ||
t/snippets.t | ||
t/spelling.t | ||
t/strict.t | ||
t/translate.t | ||
t/unused.t | ||
t/vars.t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!perl -wT | ||
|
||
# Check the GBN database is sensible | ||
# Check the GB database is sensible | ||
|
||
use strict; | ||
use warnings; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!perl -w | ||
|
||
use strict; | ||
use warnings; | ||
|
||
use Test::Most; | ||
|
||
if($ENV{AUTHOR_TESTING}) { | ||
eval 'use Test::Strict'; | ||
if($@) { | ||
plan(skip_all => 'Test::Strict required for testing use strict'); | ||
} else { | ||
all_perl_files_ok(); | ||
warnings_ok('lib/Locale/Places.pm'); | ||
warnings_ok('lib/Locale/Places/DB.pm'); | ||
warnings_ok('lib/Locale/Places/DB/GB.pm'); | ||
} | ||
} else { | ||
plan(skip_all => 'Author tests not required for installation'); | ||
} |