diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2013-10-28 15:37:54 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-10-28 15:37:54 +0100 |
commit | 4a1c14d4249effb63838c7452724003af3725674 (patch) | |
tree | 8e07f45163763e4d8ca048dd20522e454199b592 /t | |
parent | Bug 919314: Do not list the target milestone in bugmail headers when usetarge... (diff) | |
download | bugzilla-4a1c14d4249effb63838c7452724003af3725674.tar.gz bugzilla-4a1c14d4249effb63838c7452724003af3725674.tar.bz2 bugzilla-4a1c14d4249effb63838c7452724003af3725674.zip |
Bug 930870: With Pod::Coverage 0.23, t/011pod.t fails if a module is not installed
r/a=glob
Diffstat (limited to 't')
-rw-r--r-- | t/011pod.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/011pod.t b/t/011pod.t index 7709ade16..37cd2da37 100644 --- a/t/011pod.t +++ b/t/011pod.t @@ -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") { |