From c92c16d5c32aaf8fc61e7d008224eb8c44be438f Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 28 May 2008 04:15:54 +0000 Subject: [PATCH] test for pod correctness If Test::Pod is present, check the pod of files in our manifest. --- t/pod.t | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 t/pod.t diff --git a/t/pod.t b/t/pod.t new file mode 100644 index 0000000..f4d0ec1 --- /dev/null +++ b/t/pod.t @@ -0,0 +1,13 @@ +use strict; +use warnings; + +use Test::More; +use ExtUtils::Manifest qw(maniread); +eval 'use Test::Pod 1.00'; +plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; + +my $manifest = maniread(); +my @pod = grep /\.(?:pm|pod)$/, keys %$manifest; +plan tests => scalar @pod; +pod_file_ok($_ => $_) for @pod; + -- 2.30.0