From 876d0c2a281d0198ed392a5ba5a307e1b200b132 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 21 Mar 2013 15:08:40 -0700 Subject: [PATCH] fix pod test to not look at editor temp files --- t/01_pod.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/01_pod.t b/t/01_pod.t index 8fb590f..2f1d2df 100644 --- a/t/01_pod.t +++ b/t/01_pod.t @@ -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)) + )); -- 2.39.2