projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
989843c
)
diag.t: Don’t emit erroneous passing to-do tests
author
Father Chrysostomos
<sprout@cpan.org>
Wed, 27 Jun 2012 13:03:35 +0000
(06:03 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Wed, 27 Jun 2012 13:03:35 +0000
(06:03 -0700)
The __CATEGORIES__ entries by definition exist in perldiag.
t/porting/diag.t
patch
|
blob
|
history
diff --git
a/t/porting/diag.t
b/t/porting/diag.t
index
925b3eb
..
1ba0a7f
100644
(file)
--- a/
t/porting/diag.t
+++ b/
t/porting/diag.t
@@
-86,7
+86,7
@@
while (<$diagfh>) {
if (m/^=item (.*)/) {
$cur_entry = $1 =~ s/\s+\z//r;
- if (exists $entries{$cur_entry}) {
+ if (exists $entries{$cur_entry}
&& $entries{$cur_entry}{todo}
) {
TODO: {
local $::TODO = "Remove the TODO entry \"$cur_entry\" from DATA as it is already in $pod near line $.";
ok($cur_entry);