develooper Front page | perl.qa | Postings from February 2012

Re: Fatal "wide character" warnings in tests

Thread Previous | Thread Next
From:
Buddy Burden
Date:
February 1, 2012 19:33
Subject:
Re: Fatal "wide character" warnings in tests
Message ID:
CAL0mxoQUSjT87JefQ07Or1GOcK2qZGGi+4Gk9TuoDmpn9PJtOA@mail.gmail.com
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
$BAIL_ON_FAIL should handle the killing part ...


            -- Buddy

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About