[libdist-zilla-plugin-test-eol-perl] 01/04: fix issue where prereqscanner detects Test::EOL

Intrigeri intrigeri at moszumanska.debian.org
Sun Aug 16 09:19:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to annotated tag 0.06
in repository libdist-zilla-plugin-test-eol-perl.

commit 571f6bcbdeaf5f65eaee1d5f80fb01924d8113a2
Author: Caleb Cushing <xenoterracide at gmail.com>
Date:   Tue Apr 3 13:34:33 2012 -0500

    fix issue where prereqscanner detects Test::EOL
    
    Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
 lib/Dist/Zilla/Plugin/Test/EOL.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Dist/Zilla/Plugin/Test/EOL.pm b/lib/Dist/Zilla/Plugin/Test/EOL.pm
index ce03756..42245a4 100644
--- a/lib/Dist/Zilla/Plugin/Test/EOL.pm
+++ b/lib/Dist/Zilla/Plugin/Test/EOL.pm
@@ -66,6 +66,7 @@ ___[ xt/author/test-eol.t ]___
 use strict;
 use warnings;
 use Test::More;
-use Test::EOL;
+eval "use Test::EOL; 1;" or die $@;
+# ^^ hack to get around prereqscanner detection, remove someday
 
 all_perl_files_ok({ trailing_whitespace => {{ $trailing_ws }} });

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-eol-perl.git



More information about the Pkg-perl-cvs-commits mailing list