]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/blobdiff - t/10-base.t
Update VPIT::TestHelpers to 15e8aee3
[perl/modules/Acme-CPANAuthors-You-re_using.git] / t / 10-base.t
index 06c7a3f7c6b6ad035a49f97ac16e8190626b49e6..72e2bd88caaa110805050ce7a000c20fb3bd10d0 100644 (file)
@@ -7,13 +7,18 @@ 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) = @_;
   if ($msg =~ /^You're_using CPAN Authors are not registered yet: (.*)/s) {
    die $1;
   }
-  CORE::warn(@_);
+  diag $_ for @_;
  };
  Acme::CPANAuthors->new("You're_using");
 };