Bug 930870: With Pod::Coverage 0.23, t/011pod.t fails if a module is not installed

r/a=glob


git-svn-id: svn://10.0.0.236/trunk@265084 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org
2013-10-28 14:46:54 +00:00
parent dff1a0cf29
commit 0bf217c8f8
2 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
8790
8791

View File

@@ -104,9 +104,9 @@ foreach my $file (@module_files) {
". Undocumented methods: " . join(', ', $cover->uncovered));
}
}
# This error is thrown when the module couldn't be loaded due to
# These errors are thrown when the module couldn't be loaded due to
# a missing dependency.
elsif ($reason eq "no public symbols defined") {
elsif ($reason =~ /^(?:no public symbols defined|requiring '[^']+' failed)$/) {
ok(1, "$file cannot be loaded");
}
elsif ($reason eq "couldn't find pod") {