From 580fb4848cbcce37dffe64f2566cdbfbbf00f2d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Scheibe?= Date: Thu, 4 Jun 2015 12:31:33 +0200 Subject: test that documentation uses valid syntax * POD - Plain Old Documentation (the documentation format used by Perl) --- MANIFEST | 1 + Makefile.PL | 1 + t/pod_ok.t | 5 +++++ 3 files changed, 7 insertions(+) create mode 100644 t/pod_ok.t diff --git a/MANIFEST b/MANIFEST index 6f51dd9..938e912 100644 --- a/MANIFEST +++ b/MANIFEST @@ -216,5 +216,6 @@ t/data/licenses/OSL-2.1 t/data/licenses/OSL-3.0 t/data/licenses/PRESERVE_COPYRIGHT_NOTICE t/data/licenses/Public-domain +t/pod_ok.t t/reference_licenses.t t/syntax_ok_and_use_strict.t diff --git a/Makefile.PL b/Makefile.PL index 20ea9fd..790ea55 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -30,6 +30,7 @@ WriteMakefile( TEST_REQUIRES => { 'File::Temp' => '0', 'Test::More' => '0.98', + 'Test::Pod' => '1.00', 'Test::Strict' => '0', }, META_MERGE => { diff --git a/t/pod_ok.t b/t/pod_ok.t new file mode 100644 index 0000000..57b423a --- /dev/null +++ b/t/pod_ok.t @@ -0,0 +1,5 @@ +use strict; +use warnings; +use Test::Pod; + +all_pod_files_ok(); -- cgit v1.2.1