summaryrefslogtreecommitdiff
path: root/perl/t/pod.t
diff options
context:
space:
mode:
Diffstat (limited to 'perl/t/pod.t')
-rwxr-xr-xperl/t/pod.t14
1 files changed, 6 insertions, 8 deletions
diff --git a/perl/t/pod.t b/perl/t/pod.t
index e9aa0a8..c467b82 100755
--- a/perl/t/pod.t
+++ b/perl/t/pod.t
@@ -1,16 +1,14 @@
-#!/usr/bin/perl
+#!/usr/bin/perl -w
#
-# t/pod.t -- Test POD formatting for the wallet Perl modules.
+# Test POD formatting for the wallet Perl modules.
#
# Written by Russ Allbery <rra@stanford.edu>
-# Copyright 2007 Board of Trustees, Leland Stanford Jr. University
+# Copyright 2007, 2010 Board of Trustees, Leland Stanford Jr. University
#
# See LICENSE for licensing terms.
+use strict;
+use Test::More;
eval 'use Test::Pod 1.00';
-if ($@) {
- print "1..1\n";
- print "ok 1 # skip - Test::Pod 1.00 required for testing POD\n";
- exit;
-}
+plan skip_all => 'Test::Pod 1.00 required for testing POD' if $@;
all_pod_files_ok ();