Permalink
Browse files

Add optional pod test.

  • Loading branch information...
1 parent a76cab1 commit 01c1ef2d439c9543597f0ffdf8fcdc7ab327908b @rafl rafl committed Jun 30, 2009
Showing with 12 additions and 0 deletions.
  1. +12 −0 t/pod.t
View
12 t/pod.t
@@ -0,0 +1,12 @@
+use strict;
+use warnings;
+use Test::More;
+
+plan skip_all => 'set TEST_POD to enable this test'
+ unless $ENV{TEST_POD};
+
+eval "use Test::Pod";
+plan skip_all => 'Test::Pod required for this test'
+ if $@;
+
+all_pod_files_ok();

0 comments on commit 01c1ef2

Please sign in to comment.