diff options
Diffstat (limited to 'cpan/Pod-Parser/t/pod/poderrs.t')
-rw-r--r-- | cpan/Pod-Parser/t/pod/poderrs.t | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cpan/Pod-Parser/t/pod/poderrs.t b/cpan/Pod-Parser/t/pod/poderrs.t index 98c6320792..664e670aa8 100644 --- a/cpan/Pod-Parser/t/pod/poderrs.t +++ b/cpan/Pod-Parser/t/pod/poderrs.t @@ -118,6 +118,8 @@ L< aha> L<oho > L<"Warnings"> this one is ok L</unescaped> ok too, this POD has an X of the same name +L<http://www.perl.org> this is OK +L<The Perl Home Page|http://www.perl.org> this is not OK =head2 Warnings @@ -192,6 +194,15 @@ we already have a head Misc =head2 another one +=head2 the next line should be empty +=head2 ... but there is a command instead + +And here is some text +=head2 again followed by a command + + verbatim +=item line missing + previous section is empty! =head1 LINK TESTS @@ -206,4 +217,25 @@ trigger a podchecker warning (using bleadperl) : =cut +=pod + +=head1 ON-OFF tests + +The above =pod is OK. The following =cut is ok, the one after not. + +=cut + +# some comment or code here, not POD + +=cut + +# more code + +=head2 This opens POD + +=pod + +And the =pod above is too much. + +=cut |