X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=dev%2Fi386%2Flibtest-pod-perl%2Flibtest-pod-perl-1.26%2Ft%2Fitem-ordering.t;fp=dev%2Fi386%2Flibtest-pod-perl%2Flibtest-pod-perl-1.26%2Ft%2Fitem-ordering.t;h=d851ac676edf2487ef3bffc49ff63fd57790cd13;hb=8977e561d8a9eae6959218b0306c9df2056a38a9;hp=0000000000000000000000000000000000000000;hpb=df794b845212301ea0d267c919232538bfef356a;p=dh-make-perl diff --git a/dev/i386/libtest-pod-perl/libtest-pod-perl-1.26/t/item-ordering.t b/dev/i386/libtest-pod-perl/libtest-pod-perl-1.26/t/item-ordering.t new file mode 100644 index 0000000..d851ac6 --- /dev/null +++ b/dev/i386/libtest-pod-perl/libtest-pod-perl-1.26/t/item-ordering.t @@ -0,0 +1,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" );