]> 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 cab221723d939bef3ff4af46f2277e6aad59b7ec..c3899ce28c8983177902fd251aefa095e2037999 100644 (file)
@@ -9,6 +9,9 @@ use Acme::CPANAuthors;
 
 local @INC = grep $_ ne '.', @INC;
 
+diag 'Directories in @INC :';
+diag "  $_" for @INC;
+
 my $authors = eval {
  local $SIG{__WARN__} = sub {
   my ($msg) = @_;
@@ -26,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';