]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/commitdiff
In t/10-base.t, reprint extra warnings as diagnostics
authorVincent Pit <vince@profvince.com>
Fri, 13 Mar 2015 14:51:17 +0000 (11:51 -0300)
committerVincent Pit <vince@profvince.com>
Fri, 13 Mar 2015 14:51:17 +0000 (11:51 -0300)
t/10-base.t

index c3899ce28c8983177902fd251aefa095e2037999..72e2bd88caaa110805050ce7a000c20fb3bd10d0 100644 (file)
@@ -18,7 +18,7 @@ my $authors = eval {
   if ($msg =~ /^You're_using CPAN Authors are not registered yet: (.*)/s) {
    die $1;
   }
-  CORE::warn(@_);
+  diag $_ for @_;
  };
  Acme::CPANAuthors->new("You're_using");
 };