From: Vincent Pit Date: Fri, 13 Mar 2015 14:51:17 +0000 (-0300) Subject: In t/10-base.t, reprint extra warnings as diagnostics X-Git-Tag: rt91248~1 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=e6c1024084a55bcef215da9be5b6410710be545f;p=perl%2Fmodules%2FAcme-CPANAuthors-You-re_using.git In t/10-base.t, reprint extra warnings as diagnostics --- diff --git a/t/10-base.t b/t/10-base.t index c3899ce..72e2bd8 100644 --- a/t/10-base.t +++ b/t/10-base.t @@ -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"); };