]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/blobdiff - t/10-base.t
In t/10-base.t, always show @INC
[perl/modules/Acme-CPANAuthors-You-re_using.git] / t / 10-base.t
index 39eff2314932c2248bd05af4c1b8f8906abfebee..c3899ce28c8983177902fd251aefa095e2037999 100644 (file)
@@ -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) = @_;
@@ -31,4 +36,4 @@ cmp_ok $count, '>', 0, 'there are some authors';
 is   $authors->name('???'),      undef,         'wrong name';
 is   $authors->name('VPIT'),     'Vincent Pit', 'we should at least have this module';
 isnt $authors->name('ISHIGAKI'), undef,         'we should at least have Acme::CPANAuthors\' author';
-isnt $authors->name('LBROCARD'), undef,         'we should at least have Parse::CPAN::* author';
+isnt $authors->name('GAAS'),     undef,         'we should at least have LWP\'s author';