On Sun, Jan 29, 2012 at 11:55 PM, Ovid 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 Szabo
http://szabgab.com/
Hook %SIG?
David
On Jan 29, 2012 4:56 PM, "Ovid" 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 $string = '日本国';
>
How do I make "Wide character in print" warnings fatal in tests?
This test passes;
use Test::More;
use strict;
use warnings;
use warnings FATA