X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F10-base.t;h=c3899ce28c8983177902fd251aefa095e2037999;hb=afd5c9c527d944235f539e91e8db3a5891177bdf;hp=f9a80a7c85c985b1f114a148fbb851b24fd2946d;hpb=82cde04d830d067d6b3e49ae5f0028b5b82d6850;p=perl%2Fmodules%2FAcme-CPANAuthors-You-re_using.git diff --git a/t/10-base.t b/t/10-base.t index f9a80a7..c3899ce 100644 --- a/t/10-base.t +++ b/t/10-base.t @@ -7,6 +7,11 @@ use Test::More; use Acme::CPANAuthors; +local @INC = grep $_ ne '.', @INC; + +diag 'Directories in @INC :'; +diag " $_" for @INC; + my $authors = eval { local $SIG{__WARN__} = sub { my ($msg) = @_; @@ -24,9 +29,6 @@ if ($authors) { plan skip_all => $@; } -diag 'Directories in @INC :'; -diag " $_" for @INC; - my $count = $authors->count; diag "$count authors found"; cmp_ok $count, '>', 0, 'there are some authors';