upgrade to PodParser-1.085 from Brad Appleton <bradapp@enteract.com>
[p5sagit/p5-mst-13.2.git] / t / pod / poderrs.t
CommitLineData
360aca43 1BEGIN {
2 use File::Basename;
3 my $THISDIR = dirname $0;
4 unshift @INC, $THISDIR;
5 require "testpchk.pl";
6 import TestPodChecker;
7}
8
9my %options = map { $_ => 1 } @ARGV; ## convert cmdline to options-hash
10my $passed = testpodchecker \%options, $0;
11exit( ($passed == 1) ? 0 : -1 ) unless $ENV{HARNESS_ACTIVE};
12
13
14__END__
15
16
17=head1 NAME
18
19poderrors.t - test Pod::Checker on some pod syntax errors
20
21=unknown1 this is an unknown command with two N<unknownA>
22and D<unknownB> interior sequences.
23
24This is some paragraph text with some unknown interior sequences,
25such as Q<unknown2>,
26A<unknown3>,
27and Y<unknown4 V<unknown5>>.
28
29Now try some unterminated sequences like
30I<hello mudda!
31B<hello fadda!
32
33Here I am at C<camp granada!
34
35Camps is very,
36entertaining.
37And they say we'll have some fun if it stops raining!
38
39=cut