File: pod-spelling.patch

package info (click to toggle)
libwebservice-youtube-perl 1.0.3-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 416 kB
  • sloc: perl: 5,070; makefile: 4
file content (19 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Disable PodSpelling tests
 If File::Which, Text::ParseWords, Pod::Spell, aspell and aspell's
 English dictionary are installed, then the PodSpelling policy causes
 test failures.
Origin: vendor
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538116
Author: Jonathan Yu <frequency@cpan.org>
--- a/t/01perlcritic.t
+++ b/t/01perlcritic.t
@@ -18,7 +18,8 @@
             $format .= "%p\n%d\n";
         }
         require Test::Perl::Critic;
-        Test::Perl::Critic->import( -format => $format, -severity => 1 );
+        Test::Perl::Critic->import( -format => $format, -severity => 1,
+          -exclude => ['PodSpelling'] );
     };
     if ($EVAL_ERROR) {
         plan skip_all =>