[libnet-duo-perl] 06/12: Fix t/style/module-version.t -u module import

Russ Allbery eagle at eyrie.org
Mon Jan 8 02:56:07 UTC 2018


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

rra pushed a commit to annotated tag release/1.01
in repository libnet-duo-perl.

commit b4fdd6ec9c8b48957f180e5a4cf1b4610efafbc2
Author: Russ Allbery <rra at cpan.org>
Date:   Sun Aug 16 17:33:01 2015

    Fix t/style/module-version.t -u module import
    
    When run with arguments, this script wasn't importing slurp into
    the parent namespace.
---
 t/style/module-version.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/style/module-version.t b/t/style/module-version.t
index cc027be..b377226 100755
--- a/t/style/module-version.t
+++ b/t/style/module-version.t
@@ -28,6 +28,7 @@ use Test::RRA qw(skip_unless_automated use_prereq);
 # prerequisites and should run as a test suite.
 if (@ARGV) {
     require Perl6::Slurp;
+    Perl6::Slurp->import;
 } else {
     skip_unless_automated('Module version tests');
     use_prereq('Perl6::Slurp');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-duo-perl.git



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