diff options
author | Eric Wong <e@yhbt.net> | 2020-05-07 21:05:55 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-05-09 08:59:10 +0000 |
commit | 0283273a14e1871955f6a9132f4f3f7884ec8a3f (patch) | |
tree | 57c0182a8c07d3dfc041b7a818fc6293c7b433f7 /t/nntp.t | |
parent | fd966061df6a61104935984bed7c28a461a124ff (diff) | |
download | public-inbox-0283273a14e1871955f6a9132f4f3f7884ec8a3f.tar.gz |
We no longer load or use Email::MIME outside of comparison tests.
Diffstat (limited to 't/nntp.t')
-rw-r--r-- | t/nntp.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ use strict; use warnings; use Test::More; use PublicInbox::TestCommon; -use PublicInbox::MIME; +use PublicInbox::Eml; require_mods(qw(DBD::SQLite Data::Dumper)); use_ok 'PublicInbox::NNTP'; use_ok 'PublicInbox::Inbox'; @@ -107,7 +107,7 @@ use_ok 'PublicInbox::Inbox'; url => [ '//example.com/a' ]}); is($ng->base_url, $u, 'URL expanded'); my $mid = 'a@b'; - my $mime = PublicInbox::MIME->new("Message-ID: <$mid>\r\n\r\n"); + my $mime = PublicInbox::Eml->new("Message-ID: <$mid>\r\n\r\n"); my $hdr = $mime->header_obj; my $mock_self = { nntpd => { grouplist => [], servername => 'example.com' } }; |