Skip to content

Commit

Permalink
Added t/comment_spelling.t
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Horne committed May 20, 2021
1 parent eeaf9c2 commit 6cb603f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MANIFEST
Expand Up @@ -9,10 +9,12 @@ README
README.md
t/00-load.t
t/boiler.t
t/comment-spelling.t
t/coverage.t
t/critic.t
t/csp-us.t
t/cv.t
t/eol.t
t/gv.t
t/kwalitee.t
t/links.t
Expand All @@ -22,10 +24,10 @@ t/no404s.t
t/noplan.t
t/pod-cm.t
t/pod.t
t/pod_spelling.t
t/port.t
t/prereq.t
t/snippets.t
t/spelling.t
t/taint.t
t/untaint.t
t/vars.t
19 changes: 19 additions & 0 deletions t/comment-spelling.t
@@ -0,0 +1,19 @@
#!perl

use 5.006;
use strict;
use warnings;
use Test::Most;

if($ENV{AUTHOR_TESTING} ) {
eval 'use Test::Spelling::Comment 0.002';
if($@) {
plan(skip_all => 'Test::Spelling::Comment required for testing comment spelling');
} else {
Test::Spelling::Comment->new()->add_stopwords(<DATA>)->all_files_ok();
}
} else {
plan(skip_all => 'Author tests not required for installation');
}

__DATA__
File renamed without changes.

0 comments on commit 6cb603f

Please sign in to comment.