]> git.donarmstrong.com Git - debbugs.git/commitdiff
fix pod test to not look at editor temp files
authorDon Armstrong <don@donarmstrong.com>
Thu, 21 Mar 2013 22:08:40 +0000 (15:08 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 21 Mar 2013 22:08:40 +0000 (15:08 -0700)
t/01_pod.t

index 8fb590fcd65d1f2b6e8503820a354860cf62530b..2f1d2dfb8371d8736fa759c0573f003f2583c562 100644 (file)
@@ -2,4 +2,6 @@
 use Test::More;
 eval "use Test::Pod 1.00";
 plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
-all_pod_files_ok(all_pod_files('.'));
+all_pod_files_ok(grep {$_ !~ /[~#]$/} all_pod_files((-e 'blib'?'blib':(qw(Debbugs Mail))),
+                                                     (qw(bin cgi scripts))
+                                                    ));