File: upgrade-test-pod-calls.patch

package info (click to toggle)
libapache-authenhook-perl 2.00-04%2Bpristine-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 224 kB
  • ctags: 17
  • sloc: perl: 182; makefile: 12
file content (24 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Replace pod_ok by pod_file_ok and scan the good dir
Author: Xavier Guimard <x.guimard@free.fr>
Bug: https://rt.cpan.org/Ticket/Display.html?id=82517
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=82517
Last-Update: 2013-01-06

--- a/t/99pod.t
+++ b/t/99pod.t
@@ -34,13 +34,13 @@
 
   find(
     sub { push @files, $File::Find::name if m!\.p(m|od|l)$! },
-    File::Spec->catfile(qw(.. blib lib))
+    File::Spec->catfile(qw(blib lib))
   );
 
   plan(tests => scalar @files);
 
   foreach my $file (@files) {
     # use the older Test::Pod interface for maximum back compat
-    pod_ok($file);
+    pod_file_ok($file);
   }
 }