2 # $Id: 05_mail.t,v 1.1 2005/08/17 21:46:17 don Exp $
4 use Test::More tests => 2;
13 use Debbugs::MIME qw(decode_rfc1522);
14 use Encode qw(encode_utf8);
16 use_ok('Debbugs::Mail');
18 # encode_headers testing
20 my $test_str = <<'END';
21 To: Döñ Ärḿßtrøñĝ <don@donarmstrong.com>
28 ok(decode_rfc1522(Debbugs::Mail::encode_headers($test_str)) eq encode_utf8($test_str));
30 # XXX Figure out a good way to test the send message bit of