pod tests required for author mode
Graham Knop [Tue, 14 Apr 2015 04:54:59 +0000 (00:54 -0400)]
xt/pod.t
xt/pod_coverage.t

index 4ae1af3..2eb7dc2 100644 (file)
--- a/xt/pod.t
+++ b/xt/pod.t
@@ -1,11 +1,8 @@
-#!/usr/bin/perl
-
 use strict;
 use warnings;
 
 use Test::More;
 
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+use Test::Pod 1.14;
 
 all_pod_files_ok();
index 1d591ed..d3b6920 100644 (file)
@@ -1,13 +1,8 @@
-#!/usr/bin/perl
-
 use strict;
 use warnings;
 
 use Test::More;
 
-BEGIN {
-    eval "use Test::Pod::Coverage 1.04";
-    plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
-    
-    all_pod_coverage_ok({ also_private => [ qr/removeChildAt/ ] });
-}
+use Test::Pod::Coverage 1.04;
+
+all_pod_coverage_ok({ also_private => [ qr/removeChildAt/ ] });