Re: Fatal wide character warnings in tests

2012-02-09 Thread Christian Walde
On Mon, 30 Jan 2012 09:30:50 +0100, Ovid publiustemp-perl...@yahoo.com wrote: I wound up stopping use of that module many years ago, but maybe I should look at creating an alternative to Test::NoWarnings. It's caused me so much grief over the years due to how it diddle's Test::More's plan

Re: Fatal wide character warnings in tests

2012-02-01 Thread Buddy Burden
Ovid, Perhaps I'm misunderstanding, but couldn't you just wrap the guts of it (or the whole thing) inside a warning_is { ... } undef, No warnings from UTF8 stuff; type construct? That gives you a failing test, which, in conjunction with your very excellent Test::Most and judiciious use of

Re: Fatal wide character warnings in tests

2012-01-30 Thread Ovid
- From: Gabor Szabo ga...@szabgab.com To: Ovid publiustemp-perl...@yahoo.com Cc: perlqa perl-qa@perl.org Sent: Monday, 30 January 2012, 7:04 Subject: Re: Fatal wide character warnings in tests On Sun, Jan 29, 2012 at 11:55 PM, Ovid publiustemp-perl...@yahoo.com wrote: How do I make Wide

Fatal wide character warnings in tests

2012-01-29 Thread Ovid
How do I make Wide character in print warnings fatal in tests? This test passes;     use Test::More;                                                                                                                                               use strict;     use warnings;     use warnings FATAL

Re: Fatal wide character warnings in tests

2012-01-29 Thread David Golden
Hook %SIG? David On Jan 29, 2012 4:56 PM, Ovid publiustemp-perl...@yahoo.com wrote: How do I make Wide character in print warnings fatal in tests? This test passes; use Test::More; use strict; use warnings; use warnings FATAL = 'utf8'; use utf8::all; my

Re: Fatal wide character warnings in tests

2012-01-29 Thread Gabor Szabo
On Sun, Jan 29, 2012 at 11:55 PM, Ovid publiustemp-perl...@yahoo.com wrote: How do I make Wide character in print warnings fatal in tests? Test::NoWarnings catches all forms of warnings in your test, not only the specific one you mentioned. Maybe that could be used/changed. Gabor -- Gabor