diff options
Diffstat (limited to 'xt/pod.t')
-rw-r--r-- | xt/pod.t | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/xt/pod.t b/xt/pod.t new file mode 100644 index 0000000..4d3a0ce --- /dev/null +++ b/xt/pod.t @@ -0,0 +1,16 @@ +#!perl -T +use 5.006; +use strict; +use warnings; +use Test::More; + +unless ( $ENV{RELEASE_TESTING} ) { + plan( skip_all => "Author tests not required for installation" ); +} + +# Ensure a recent version of Test::Pod +my $min_tp = 1.22; +eval "use Test::Pod $min_tp"; +plan skip_all => "Test::Pod $min_tp required for testing POD" if $@; + +all_pod_files_ok(); |