summaryrefslogtreecommitdiffstats
path: root/t/06spelling.t
diff options
context:
space:
mode:
Diffstat (limited to 't/06spelling.t')
-rwxr-xr-xt/06spelling.t24
1 files changed, 24 insertions, 0 deletions
diff --git a/t/06spelling.t b/t/06spelling.t
new file mode 100755
index 00000000..90e36e48
--- /dev/null
+++ b/t/06spelling.t
@@ -0,0 +1,24 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use English qw(-no_match_vars);
+use Test::More;
+
+plan(skip_all => 'Author test, set $ENV{TEST_AUTHOR} to a true value to run')
+ if !$ENV{TEST_AUTHOR};
+
+eval {
+ require Test::Pod;
+ Test::Pod->import();
+};
+plan(skip_all => 'Test::Pod required') if $EVAL_ERROR;
+
+eval {
+ require Test::Pod::Spelling::CommonMistakes;
+ Test::Pod::Spelling::CommonMistakes->import();
+};
+plan(skip_all => 'Test::Pod::Spelling::CommonMistakes required') if $EVAL_ERROR;
+
+all_pod_files_ok(all_pod_files('urpm'));