import Devel-Size 0.65 from CPAN
[p5sagit/Devel-Size.git] / t / pod.t
diff --git a/t/pod.t b/t/pod.t
new file mode 100644 (file)
index 0000000..d539d30
--- /dev/null
+++ b/t/pod.t
@@ -0,0 +1,26 @@
+#!/usr/bin/perl -w
+
+use Test::More;
+use strict;
+   
+my $tests;
+
+BEGIN
+   {
+   $tests = 1;
+   plan tests => $tests;
+   chdir 't' if -d 't';
+   use lib '../lib';
+   };
+
+SKIP:
+  {
+  skip( 'Test::Pod not installed on this system', $tests )
+    unless do
+      {
+      eval "use Test::Pod;";
+      $@ ? 0 : 1;
+      };
+  pod_file_ok( '../lib/Devel/Size.pm' );
+  }
+