]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/commitdiff
Remove '.' from @INC in the t/10-base.t test
authorVincent Pit <vince@profvince.com>
Fri, 13 Mar 2015 14:45:17 +0000 (11:45 -0300)
committerVincent Pit <vince@profvince.com>
Fri, 13 Mar 2015 14:45:17 +0000 (11:45 -0300)
t/10-base.t

index f9a80a7c85c985b1f114a148fbb851b24fd2946d..cab221723d939bef3ff4af46f2277e6aad59b7ec 100644 (file)
@@ -7,6 +7,8 @@ use Test::More;
 
 use Acme::CPANAuthors;
 
 
 use Acme::CPANAuthors;
 
+local @INC = grep $_ ne '.', @INC;
+
 my $authors = eval {
  local $SIG{__WARN__} = sub {
   my ($msg) = @_;
 my $authors = eval {
  local $SIG{__WARN__} = sub {
   my ($msg) = @_;