X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F02_common.t;h=f7d949a833690d0d41da5e8062958466f15fcd45;hb=3d04937fc0044e30b00196c48a5f258c08b00016;hp=df07193738689968bdfc87190962ef598798150a;hpb=1377f5789e58b9b569d5f942ffb1688e1677e79d;p=debbugs.git diff --git a/t/02_common.t b/t/02_common.t index df07193..f7d949a 100644 --- a/t/02_common.t +++ b/t/02_common.t @@ -1,9 +1,11 @@ # -*- mode: cperl;-*- -use Test::More tests => 5; +use Test::More tests => 3; +use Encode qw(decode_utf8); use_ok('Debbugs::Common'); -is_deeply(Debbugs::Common::encode_utf8_structure( +use_ok('Debbugs::UTF8'); +is_deeply(Debbugs::UTF8::encode_utf8_structure( {a => decode_utf8('föö'), b => [map {decode_utf8($_)} qw(blëh bl♥h)], }),