From 62d1a4da996bd9a664be954f71f78fe052f9df16 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 21 Apr 2020 21:16:12 +0000 Subject: t/*.t: use Email::MIME->create over PublicInbox::MIME->create PublicInbox::MIME only supports ->new, and is only different from Email::MIME for old versions of Email::MIME. In the future, PublicInbox::MIME may not be a subclass of Email::MIME at all. --- t/time.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/time.t') diff --git a/t/time.t b/t/time.t index 3cba3bd1..94bf9181 100644 --- a/t/time.t +++ b/t/time.t @@ -3,9 +3,9 @@ use strict; use warnings; use Test::More; -use_ok 'PublicInbox::MIME'; +use_ok 'Email::MIME'; use PublicInbox::MsgTime qw(msg_datestamp); -my $mime = PublicInbox::MIME->create( +my $mime = Email::MIME->create( header => [ From => 'a@example.com', To => 'test@example.com', -- cgit v1.2.3-24-ge0c7