Skip to content

Commit

Permalink
Added t/spelling.t
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Oct 16, 2017
1 parent ef13e20 commit 3070b6c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
.appveyor.yml
.travis.yml
bin/createdatabase
Changes
createdatabase.PL
lib/Geo/Coder/Free.pm
lib/Geo/Coder/Free/bin/db2sql
lib/Geo/Coder/Free/databases/admin1.db
lib/Geo/Coder/Free/databases/admin2.db
lib/Geo/Coder/Free/databases/cities.csv.gz
lib/Geo/Coder/Free/databases/cities.sql
lib/Geo/Coder/Free/DB.pm
lib/Geo/Coder/Free/DB/admin1.pm
lib/Geo/Coder/Free/DB/admin2.pm
Expand All @@ -18,3 +23,4 @@ t/admin1.t
t/admin2.t
t/cities.t
t/lookup.t
t/spelling.t
24 changes: 24 additions & 0 deletions t/spelling.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!perl

use strict;
use warnings;

use Test::Most;

unless($ENV{RELEASE_TESTING}) {
plan( skip_all => "Author tests not required for installation" );
}

eval 'use Test::Spelling';
if($@) {
plan skip_all => 'Test::Spelling required for testing POD spelling';
} else {
add_stopwords(<DATA>);
all_pod_files_spelling_ok();
}

__END__
AnnoCPAN
CPAN
GPL
RT

0 comments on commit 3070b6c

Please sign in to comment.