X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fsearch-thr-index.t;h=1bea59fd87ae35c4988f4444fe1ff19cbaff3857;hp=6c564b19c0905b07687b8072c586652f5cd78b2f;hb=e6b7a7f5f70fb89a54ff158bc6c8b564149947e5;hpb=62d1a4da996bd9a664be954f71f78fe052f9df16 diff --git a/t/search-thr-index.t b/t/search-thr-index.t index 6c564b19..1bea59fd 100644 --- a/t/search-thr-index.t +++ b/t/search-thr-index.t @@ -6,7 +6,7 @@ use bytes (); # only for bytes::length use Test::More; use PublicInbox::TestCommon; use PublicInbox::MID qw(mids); -use Email::MIME; +use PublicInbox::MIME; require_mods(qw(DBD::SQLite Search::Xapian)); require PublicInbox::SearchIdx; require PublicInbox::Smsg; @@ -42,7 +42,7 @@ my @mids; foreach (reverse split(/\n\n/, $data)) { $_ .= "\n"; - my $mime = Email::MIME->new(\$_); + my $mime = PublicInbox::MIME->new(\$_); $mime->header_set('From' => 'bw@g'); $mime->header_set('To' => 'git@vger.kernel.org'); my $bytes = bytes::length($mime->as_string); @@ -78,7 +78,7 @@ $rw->commit_txn_lazy; $xdb = $rw->begin_txn_lazy; { - my $mime = Email::MIME->new(<<''); + my $mime = PublicInbox::MIME->new(<<''); Subject: [RFC 00/14] Message-Id: <1-bw@g> From: bw@g