summaryrefslogtreecommitdiff
path: root/t/900_pod-coverage.t
diff options
context:
space:
mode:
Diffstat (limited to 't/900_pod-coverage.t')
-rw-r--r--t/900_pod-coverage.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/900_pod-coverage.t b/t/900_pod-coverage.t
new file mode 100644
index 0000000..75e3153
--- /dev/null
+++ b/t/900_pod-coverage.t
@@ -0,0 +1,16 @@
+# -*- perl -*-
+use strict;
+use warnings;
+use Test::More;
+
+plan skip_all => 'done_testing requires 5.8.6' if $] <= 5.008005;
+plan skip_all => 'This test is only run for the module author'
+ unless -d '.git' || $ENV{IS_MAINTAINER};
+
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage"
+ if $@;
+
+pod_coverage_ok( "Compress::Bzip2", { trustme => [ qw( constant )]});
+
+done_testing();