Subject: | [PATCH] do not fail if Test::Pod is not installed |
Date: | Sat, 24 Jan 2009 21:54:16 -0800 |
To: | bug-XML-LibXML-Simple [...] rt.cpan.org |
From: | Tatsuhiko Miyagawa <miyagawa [...] gmail.com> |
---
t/99pod.t | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
mode change 100644 => 100755 t/99pod.t
diff --git a/t/99pod.t b/t/99pod.t
old mode 100644
new mode 100755
index ab9b19b..83d6bae
--- a/t/99pod.t
+++ b/t/99pod.t
@@ -2,6 +2,8 @@
use warnings;
use strict;
-use Test::Pod;
+use Test::More;
+eval "use Test::Pod 1.00";
+plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
all_pod_files_ok();
--
1.6.1
--
Tatsuhiko Miyagawa