From: Graham Knop Date: Tue, 14 Apr 2015 04:54:59 +0000 (-0400) Subject: pod tests required for author mode X-Git-Tag: v0.28~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FClass-C3.git;a=commitdiff_plain;h=0374fc28783cf3317936153c8479e38327895e64 pod tests required for author mode --- diff --git a/xt/pod.t b/xt/pod.t index 4ae1af3..2eb7dc2 100644 --- 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(); diff --git a/xt/pod_coverage.t b/xt/pod_coverage.t index 1d591ed..d3b6920 100644 --- a/xt/pod_coverage.t +++ b/xt/pod_coverage.t @@ -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/ ] });