Update test for forthcoming Pod::Simple 3.25.
David E. Wheeler
11 years ago
13 | 13 | pod_file_ok( $file ); |
14 | 14 | test_fail(-1); |
15 | 15 | test_diag( |
16 | ( Pod::Simple->VERSION >= 3.24 ? ( | |
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 | ) : Pod::Simple->VERSION >= 3.25 ? ( | |
20 | "$file (17): Expected text after =item, not a number", | |
21 | "$file (21): Expected text after =item, not a number", | |
19 | 22 | ) : ()), |
20 | 23 | "$file (32): You can't have =items (as at line 36) unless the first thing after the =over is an =item", |
21 | 24 | ); |