diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2013-02-28 10:27:18 +0000 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2013-02-28 10:57:50 +0000 |
commit | 7fc210b9601f3d2ee35dca6e02d9d2924c5b3557 (patch) | |
tree | bfe7e1e5e7df49ce3d9a4cb7778c999b2fbab4b5 /cpan/podlators/t | |
parent | e5b2cbd045b1a66adca6bba76eb0711b3d146911 (diff) | |
download | perl-7fc210b9601f3d2ee35dca6e02d9d2924c5b3557.tar.gz |
Update podlators to CPAN version 2.5.1
[DELTA]
2013-02-27 Russ Allbery <rra@stanford.edu>
* VERSION: podlators 2.5.1 released.
* t/color.t: Add Z<> to tag width test to avoid triggering the new
Pod::Parser warning about numeric items in description lists.
* t/overstrike.t: Likewise.
* t/termcap.t: Likewise.
* t/man.t: Remove the test for proper handling of lists that start
with a non-bullet and then have an item that looks like a bullet.
This now triggers a warning in Pod::Simple. Move it to...
* t/man-options.t: ...here, where we can configure the parser to
ignore errors and test that the output is correct.
Diffstat (limited to 'cpan/podlators/t')
-rw-r--r-- | cpan/podlators/t/color.t | 5 | ||||
-rw-r--r-- | cpan/podlators/t/man-options.t | 24 | ||||
-rw-r--r-- | cpan/podlators/t/man.t | 22 | ||||
-rw-r--r-- | cpan/podlators/t/overstrike.t | 5 | ||||
-rw-r--r-- | cpan/podlators/t/termcap.t | 5 |
5 files changed, 33 insertions, 28 deletions
diff --git a/cpan/podlators/t/color.t b/cpan/podlators/t/color.t index 826d9213f7..4fd1bd1e79 100644 --- a/cpan/podlators/t/color.t +++ b/cpan/podlators/t/color.t @@ -2,7 +2,8 @@ # # color.t -- Additional specialized tests for Pod::Text::Color. # -# Copyright 2002, 2004, 2006, 2009, 2012 by Russ Allbery <rra@stanford.edu> +# Copyright 2002, 2004, 2006, 2009, 2012, 2013 +# Russ Allbery <rra@stanford.edu> # # This program is free software; you may redistribute it and/or modify it # under the same terms as Perl itself. @@ -91,7 +92,7 @@ A B -=item 1 +=item 1Z<> C diff --git a/cpan/podlators/t/man-options.t b/cpan/podlators/t/man-options.t index d35b88e287..898abb9dde 100644 --- a/cpan/podlators/t/man-options.t +++ b/cpan/podlators/t/man-options.t @@ -19,7 +19,7 @@ BEGIN { use strict; -use Test::More tests => 25; +use Test::More tests => 28; BEGIN { use_ok ('Pod::Man') } # Redirect stderr to a file. @@ -262,3 +262,25 @@ Bar. .IX Header "NEXT" ### ### + +### +errors none +### +=over 4 + +=item foo + +Not a bullet. + +=item * + +Also not a bullet. + +=back +### +.IP "foo" 4 +.IX Item "foo" +Not a bullet. +.IP "*" 4 +Also not a bullet. +### diff --git a/cpan/podlators/t/man.t b/cpan/podlators/t/man.t index f8a391e85e..0645d93203 100644 --- a/cpan/podlators/t/man.t +++ b/cpan/podlators/t/man.t @@ -19,7 +19,7 @@ BEGIN { use strict; -use Test::More tests => 35; +use Test::More tests => 34; BEGIN { use_ok ('Pod::Man') } # Test whether we can use binmode to set encoding. @@ -119,26 +119,6 @@ Also a bullet. ### ### -=over 4 - -=item foo - -Not a bullet. - -=item * - -Also not a bullet. - -=back -### -.IP "foo" 4 -.IX Item "foo" -Not a bullet. -.IP "*" 4 -Also not a bullet. -### - -### =encoding iso-8859-1 =head1 ACCENTS diff --git a/cpan/podlators/t/overstrike.t b/cpan/podlators/t/overstrike.t index 1eff29d591..13ee2c87d3 100644 --- a/cpan/podlators/t/overstrike.t +++ b/cpan/podlators/t/overstrike.t @@ -2,7 +2,8 @@ # # overstrike.t -- Additional specialized tests for Pod::Text::Overstrike. # -# Copyright 2002, 2004, 2006, 2009, 2012 by Russ Allbery <rra@stanford.edu> +# Copyright 2002, 2004, 2006, 2009, 2012, 2013 +# Russ Allbery <rra@stanford.edu> # # This program is free software; you may redistribute it and/or modify it # under the same terms as Perl itself. @@ -81,7 +82,7 @@ A B -=item 1 +=item 1Z<> C diff --git a/cpan/podlators/t/termcap.t b/cpan/podlators/t/termcap.t index 808c2f3212..d751bad613 100644 --- a/cpan/podlators/t/termcap.t +++ b/cpan/podlators/t/termcap.t @@ -2,7 +2,8 @@ # # termcap.t -- Additional specialized tests for Pod::Text::Termcap. # -# Copyright 2002, 2004, 2006, 2009, 2012 by Russ Allbery <rra@stanford.edu> +# Copyright 2002, 2004, 2006, 2009, 2012, 2013 +# Russ Allbery <rra@stanford.edu> # # This program is free software; you may redistribute it and/or modify it # under the same terms as Perl itself. @@ -86,7 +87,7 @@ A B -=item 1 +=item 1Z<> C |