Skip Menu |

This queue is for tickets about the HTML-Mason CPAN distribution.

Report information
The Basics
Id: 17118
Status: resolved
Priority: 0/
Queue: HTML-Mason

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.33



Subject: [PATCH] t/06-compile.t fails on bleadperl
On bleadperl, the "Use of unitialized variable" warnings actually include the name of the variable. That's good news for tracing these issues, but it causes HTML::Mason to fail tests in t/06-compile.t. Below is a patch that fixes this in 5.8.7 and bleadperl. --- HTML-Mason-1.32/t/06-compiler.t 2006-01-03 12:01:00.000000000 -0600 +++ HTML-Mason-patch/t/06-compiler.t 2006-01-17 14:12:23.000000000 -0600 @@ -1097,7 +1097,7 @@ expect => <<'EOF', x is 2 EOF - expect_warnings => qr/Use of uninitialized value in addition/, + expect_warnings => qr/Use of uninitialized value(?: | \$x )in addition/, ); #------------------------------------------------------------ @@ -1112,7 +1112,7 @@ expect => <<'EOF', x is 2 EOF - expect_warnings => qr/Use of uninitialized value in addition/, + expect_warnings => qr/Use of uninitialized value(?: | \$x )in addition/, ); #------------------------------------------------------------
On Tue Jan 17 15:32:44 2006, SMPETERS wrote: Show quoted text
> On bleadperl, the "Use of unitialized variable" warnings actually > include the name of the variable. That's good news for tracing these > issues, but it causes HTML::Mason to fail tests in t/06-compile.t. > Below is a patch that fixes this in 5.8.7 and bleadperl.
Thanks, I updated the tests with a slightly simpler fix.