Re: Fatal "wide character" warnings in tests

2012-01-29 Thread Gabor Szabo
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/

Re: Fatal "wide character" warnings in tests

2012-01-29 Thread David Golden
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 = '日本国'; >

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 FATA