File: pod-coverage.t

package info (click to toggle)
libencode-arabic-perl 1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 488 kB
  • ctags: 72
  • sloc: perl: 4,100; makefile: 9
file content (20 lines) | stat: -rw-r--r-- 462 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use strict;
use warnings;

use Test::More;

foreach my $module ( [ 'Test::Pod::Coverage' => 1.08 ],
                     [ 'Pod::Coverage'       => 0.18 ] ) {

    eval "use @{$module}";
    plan skip_all => "@{$module} required for testing POD coverage" if $@;
}

my @module = all_modules('lib/Encode');

plan tests => scalar @module;

foreach my $module (@module) {

    pod_coverage_ok($module, { 'trustme' => [ qr/(?:[cm]ode|options|verify|whisper)/ ] });
}