Koha/xt/author/podcorrectness.t
Robin Sheat 645cd2d240 Bug 12041 - POD fixing followup
This fixes a minor POD error detected, and also adds the Koha/ directory
to the regular test case so that the in-repo tests can find these
things.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-06-19 13:05:15 -03:00

24 lines
616 B
Perl

#!/usr/bin/env perl
use strict;
use warnings;
=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 ) );