move pod tests to xt
Graham Knop [Thu, 15 Feb 2018 09:25:09 +0000 (10:25 +0100)]
Makefile.PL
t/pod-coverage.t [deleted file]
t/pod.t [deleted file]
xt/pod-coverage.t [new file with mode: 0644]
xt/pod.t [new file with mode: 0644]

index cbfc440..e73a9e3 100644 (file)
@@ -29,6 +29,12 @@ my %META = (
         'Class::C3'         => '0.20',
       },
     },
+    develop => {
+      requires => {
+        'Test::Pod' => '1.14',
+        'Test::Pod::Coverage' => '1.04',
+      },
+    },
   },
   resources => {
     repository => {
diff --git a/t/pod-coverage.t b/t/pod-coverage.t
deleted file mode 100644 (file)
index 703f91d..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
-all_pod_coverage_ok();
diff --git a/t/pod.t b/t/pod.t
deleted file mode 100644 (file)
index 976d7cd..0000000
--- a/t/pod.t
+++ /dev/null
@@ -1,6 +0,0 @@
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
-all_pod_files_ok();
diff --git a/xt/pod-coverage.t b/xt/pod-coverage.t
new file mode 100644 (file)
index 0000000..99a014e
--- /dev/null
@@ -0,0 +1,5 @@
+#!perl -T
+
+use Test::More;
+use Test::Pod::Coverage 1.04;
+all_pod_coverage_ok();
diff --git a/xt/pod.t b/xt/pod.t
new file mode 100644 (file)
index 0000000..c343134
--- /dev/null
+++ b/xt/pod.t
@@ -0,0 +1,5 @@
+#!perl -T
+
+use Test::More;
+use Test::Pod 1.14;
+all_pod_files_ok();