File: item-ordering.t

package info (click to toggle)
libtest-pod-perl 1.44-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 164 kB
  • sloc: perl: 265; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 384 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
#!perl -T

use strict;

use Test::Builder::Tester tests => 2;
use Test::More;

BEGIN {
    use_ok( 'Test::Pod' );
}

my $file = 't/item-ordering.pod';
test_out( "not ok 1 - POD test for $file" );
pod_file_ok( $file );
test_fail(-1);
test_diag(
    "$file (32): You can't have =items (as at line 36) unless the first thing after the =over is an =item",
);
test_test( "$file is bad" );