[libdist-zilla-plugin-test-eol-perl] 25/28: use Test::Requires

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


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

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

commit a59bce5a78730fa5ca35f143ad795a5360375452
Author: Caleb Cushing <xenoterracide at gmail.com>
Date:   Sun Dec 11 01:20:41 2011 -0600

    use Test::Requires
    
    Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
 lib/Dist/Zilla/Plugin/Test/EOL.pm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/Dist/Zilla/Plugin/Test/EOL.pm b/lib/Dist/Zilla/Plugin/Test/EOL.pm
index ca56f86..8cfb882 100644
--- a/lib/Dist/Zilla/Plugin/Test/EOL.pm
+++ b/lib/Dist/Zilla/Plugin/Test/EOL.pm
@@ -54,8 +54,6 @@ ___[ xt/author/test-eol.t ]___
 use strict;
 use warnings;
 use Test::More;
-
-eval 'use Test::EOL';
-plan skip_all => 'Test::EOL required' if $@;
+use Test::Requires qw( Test::EOL );
 
 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