From 029c25f75626e99a8448c34216dc1f5fe1ca6369 Mon Sep 17 00:00:00 2001 From: Laurent Dami Date: Sun, 5 Aug 2012 08:28:55 +0000 Subject: [PATCH] additional test for checking POD syntax --- t/51_pod.t | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 t/51_pod.t diff --git a/t/51_pod.t b/t/51_pod.t new file mode 100755 index 0000000..c2469aa --- /dev/null +++ b/t/51_pod.t @@ -0,0 +1,16 @@ +use strict; +use warnings; +use Test::More; + +BEGIN { + plan skip_all => + 'set $ENV{AUTHOR_TEST} '. + 'to enable this test' + unless $ENV{AUTHOR_TEST}; +} + +# 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();