Skip to content

Commit

Permalink
Update test for forthcoming Pod::Simple 3.25.
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Feb 16, 2013
1 parent c6b80ec commit 87b2ca0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion t/item-ordering.t
Expand Up @@ -14,9 +14,12 @@ test_out( "not ok 1 - POD test for $file" );
pod_file_ok( $file );
test_fail(-1);
test_diag(
( Pod::Simple->VERSION >= 3.24 ? (
( Pod::Simple->VERSION == 3.24 ? (
"$file (17): Expected text matching /\\s+[^\\*\\d]/ after '=item'",
"$file (21): Expected text matching /\\s+[^\\*\\d]/ after '=item'",
) : Pod::Simple->VERSION >= 3.25 ? (
"$file (17): Expected text after =item, not a number",
"$file (21): Expected text after =item, not a number",
) : ()),
"$file (32): You can't have =items (as at line 36) unless the first thing after the =over is an =item",
);
Expand Down

0 comments on commit 87b2ca0

Please sign in to comment.