e1b4b53765
Test Case: Check the following files have been updated from use strict; use warnings; to use Modern::Perl; author/podcorrectness.t author/show-template-structure.pl author/translatable-templates.t author/valid-templates.t find-license-problems fix-old-fsf-address single_quotes.t verify-debian-docbook.t Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
22 lines
607 B
Perl
22 lines
607 B
Perl
#!/usr/bin/env perl
|
|
use Modern::Perl;
|
|
=head2 podcorrectness.t
|
|
|
|
This test file checks all perl modules in the C4 directory for POD
|
|
correctness. It typically finds things like pod tags withouth blank
|
|
lines immediately before or after them, unknown directives, or =over,
|
|
=item, and =back in the wrong order.
|
|
|
|
You must have Test::Pod installed.
|
|
|
|
One good way to run this is with C<prove -v
|
|
xt/author/podcorrectness.t>
|
|
|
|
=cut
|
|
|
|
use Test::More;
|
|
eval "use Test::Pod 1.00";
|
|
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
|
|
my @poddirs = qw( C4 Koha );
|
|
all_pod_files_ok( all_pod_files( @poddirs ) );
|
|
|