Commit 4a1c14d4 authored by Frédéric Buclin's avatar Frédéric Buclin

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

r/a=glob
parent a9fea21b
......@@ -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") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment