diff options
Diffstat (limited to 't/nntpd.t')
-rw-r--r-- | t/nntpd.t | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,7 +7,7 @@ use PublicInbox::TestCommon; use PublicInbox::Spawn qw(which); require_mods(qw(DBD::SQLite)); require PublicInbox::InboxWritable; -use PublicInbox::MIME; +use PublicInbox::Eml; use IO::Socket; use Socket qw(IPPROTO_TCP TCP_NODELAY); use Net::NNTP; @@ -57,7 +57,7 @@ $ibx = PublicInbox::Inbox->new($ibx); # ensure successful message delivery { - my $mime = PublicInbox::MIME->new(<<EOF); + my $mime = PublicInbox::Eml->new(<<EOF); To: =?utf-8?Q?El=C3=A9anor?= <you\@example.com> From: =?utf-8?Q?El=C3=A9anor?= <me\@example.com> Cc: $addr @@ -241,7 +241,7 @@ EOF ok($date <= $t1, 'valid date before stop'); } if ('leafnode interop') { - my $for_leafnode = PublicInbox::MIME->new(<<""); + my $for_leafnode = PublicInbox::Eml->new(<<""); From: longheader\@example.com To: $addr Subject: none |