Fix test on Pod::Simple 3.27.
David E. Wheeler
11 years ago
0 | 0 |
Change log for Test::Pod
|
1 | 1 |
|
2 | 2 |
1.47
|
|
3 |
* Fixed failing test on Pod::Simple 3.27 and higher.
|
3 | 4 |
|
4 | 5 |
1.46 - 2013-02-16T19:46:17Z
|
5 | 6 |
* Fixed a crash when `all_pod_files_ok()` finds no files to test. Thanks
|
16 | 16 |
( Pod::Simple->VERSION == 3.24 ? (
|
17 | 17 |
"$file (17): Expected text matching /\\s+[^\\*\\d]/ after '=item'",
|
18 | 18 |
"$file (21): Expected text matching /\\s+[^\\*\\d]/ after '=item'",
|
|
19 |
"$file (32): You can't have =items (as at line 36) unless the first thing after the =over is an =item",
|
|
20 |
) : Pod::Simple->VERSION >= 3.27 ? (
|
|
21 |
"$file (17): Expected text after =item, not a number",
|
|
22 |
"$file (21): Expected text after =item, not a number",
|
|
23 |
"$file (32): You can't have =items (as at line 36) unless the first thing after the =over is an =item",
|
|
24 |
"$file (32): =over without closing =back",
|
19 | 25 |
) : Pod::Simple->VERSION >= 3.25 ? (
|
20 | 26 |
"$file (17): Expected text after =item, not a number",
|
21 | 27 |
"$file (21): Expected text after =item, not a number",
|
|
28 |
"$file (32): You can't have =items (as at line 36) unless the first thing after the =over is an =item",
|
22 | 29 |
) : ()),
|
23 | |
"$file (32): You can't have =items (as at line 36) unless the first thing after the =over is an =item",
|
24 | 30 |
);
|
25 | 31 |
test_test( "$file is bad" );
|