summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/98-pod-coverage.t8
1 files changed, 5 insertions, 3 deletions
diff --git a/t/98-pod-coverage.t b/t/98-pod-coverage.t
index c7f80cd5..debe03c7 100644
--- a/t/98-pod-coverage.t
+++ b/t/98-pod-coverage.t
@@ -8,11 +8,13 @@
use strict;
use warnings;
-use Test::More tests => 15;
use Test::More;
eval "use Test::Pod::Coverage";
-plan skip_all => "Test::Pod::Coverage required for testing POD coverage" if $@;
-
+if ($@){
+ plan skip_all => "Test::Pod::Coverage required for testing POD coverage";
+} else {
+ plan tests => 15;
+}
pod_coverage_ok("LedgerSMB");
pod_coverage_ok("LedgerSMB::Form");
pod_coverage_ok("LedgerSMB::AM");