File: 02_pod_coverage.t

package info (click to toggle)
libimage-size-perl 3.232-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 2,312 kB
  • ctags: 54
  • sloc: perl: 947; xml: 913; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 459 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/perl

# Test that the syntax of our POD documentation is valid
use strict;
BEGIN
{
    $|  = 1;
    $^W = 1;

    use Test::More;
    unless ($ENV{AUTHOR_TESTING})
    {
        plan skip_all => "Author tests not required for installation";
    }
    else
    {
        eval "use Test::Pod::Coverage;";
    }
}

plan tests => 1;

pod_coverage_ok('Image::Size' => { also_private => [ qr/size$/, 'img_eof' ] },
                'Image::Size');

exit;