]> git.donarmstrong.com Git - debbugs.git/blobdiff - t/02_common.t
encode_utf8_structure is in Debbugs::UTF8 now
[debbugs.git] / t / 02_common.t
index d770d3fe090e83ab7bf971c17f4cf3aa282f6c8f..f7d949a833690d0d41da5e8062958466f15fcd45 100644 (file)
@@ -1,10 +1,11 @@
 # -*- mode: cperl;-*-
 
-use Test::More tests => 2;
+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)],
          }),