This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update to Pod::Parser 1.17, from Brad Appleton.
[perl5.git] / t / pod / emptycmd.t
1 BEGIN {
2    use File::Basename;
3    my $THISDIR = dirname $0;
4    unshift @INC, $THISDIR;
5    require "testp2pt.pl";
6    import TestPodIncPlainText;
7 }
8
9 my %options = map { $_ => 1 } @ARGV;  ## convert cmdline to options-hash
10 my $passed  = testpodplaintext \%options, $0;
11 exit( ($passed == 1) ? 0 : -1 )  unless $ENV{HARNESS_ACTIVE};
12
13 __END__
14
15 =pod
16
17 = this is a test
18 of the emergency
19 broadcast system
20
21 =cut