Skip Menu |

This queue is for tickets about the Test-Warn CPAN distribution.

Report information
The Basics
Id: 56132
Status: resolved
Priority: 0/
Queue: Test-Warn

People
Owner: Nobody in particular
Requestors: rkitover [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.21
Fixed in: (no value)



Subject: warning_like doesn't work with newlines
perl -MTest::Warn -le 'sub foo { warn "\nHLAGH" } warning_like { foo() } qr/HLAGH/;' not ok 1 # Failed test at -e line 1. # found warning: # expected to find warning: (?-xism:HLAGH)
On Tue Mar 30 19:26:32 2010, RKITOVER wrote: Show quoted text
> perl -MTest::Warn -le 'sub foo { warn "\nHLAGH" } warning_like { foo() } > qr/HLAGH/;' > not ok 1 > # Failed test at -e line 1. > # found warning: > # expected to find warning: (?-xism:HLAGH)
I think I might have the fix for that at https://github.com/yanick/test-warn/commit/1a4158f83be877a9e9265a9e028ffd2d30ae0736
Am Sa 26. Nov 2011, 15:46:27, YANICK schrieb: Show quoted text
> On Tue Mar 30 19:26:32 2010, RKITOVER wrote:
> > perl -MTest::Warn -le 'sub foo { warn "\nHLAGH" } warning_like { > > foo() } > > qr/HLAGH/;' > > not ok 1 > > # Failed test at -e line 1. > > # found warning: > > # expected to find warning: (?-xism:HLAGH)
> > I think I might have the fix for that at > > https://github.com/yanick/test- > warn/commit/1a4158f83be877a9e9265a9e028ffd2d30ae0736
I finally fixed it in version 0.31 (pending to upload to PAUSE).