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
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
-
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
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
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
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