Re: Fatal "wide character" warnings in tests
Buddy Burden <[email protected]>
| Newsgroups | gmane.comp.lang.perl.quality-assurance |
|---|---|
| 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