From e6b7a7f5f70fb89a54ff158bc6c8b564149947e5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 21 Apr 2020 21:16:13 +0000 Subject: t/*.t: reduce dependency on Email::MIME APIs Instead, favor PublicInbox::MIME->new for non-attachment emails. We may support alternatives to Email::MIME down the line. We'll still keep Email::MIME->create to deal with attachments, for now, but there's also a fair amount of test duplication we should eliminate, later. --- t/psgi_text.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/psgi_text.t') diff --git a/t/psgi_text.t b/t/psgi_text.t index 77fc9ee2..b7b5b2d4 100644 --- a/t/psgi_text.t +++ b/t/psgi_text.t @@ -3,7 +3,7 @@ use strict; use warnings; use Test::More; -use Email::MIME; +use PublicInbox::MIME; use PublicInbox::TestCommon; my ($tmpdir, $for_destroy) = tmpdir(); my $maindir = "$tmpdir/main.git"; -- cgit v1.2.3-24-ge0c7