X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fmsgtime.t;h=058f38864b9934061360ab717f347725f2e79538;hp=3f09fb4ef76ee0a915add8942136f0860c59ad2d;hb=62d1a4da996bd9a664be954f71f78fe052f9df16;hpb=4bd22e9528484c5d964ecba277fd6a7d5e023461 diff --git a/t/msgtime.t b/t/msgtime.t index 3f09fb4e..058f3886 100644 --- a/t/msgtime.t +++ b/t/msgtime.t @@ -6,12 +6,13 @@ use Test::More; use PublicInbox::MIME; use PublicInbox::MsgTime; use PublicInbox::TestCommon; +require_mods(qw(Email::MIME)); our $received_date = 'Mon, 22 Jan 2007 13:16:24 -0500'; sub datestamp ($) { my ($date) = @_; local $SIG{__WARN__} = sub {}; # Suppress warnings - my $mime = PublicInbox::MIME->create( + my $mime = Email::MIME->create( header => [ From => 'a@example.com', To => 'b@example.com', @@ -34,7 +35,7 @@ EOF sub timestamp ($) { my ($received) = @_; local $SIG{__WARN__} = sub {}; # Suppress warnings - my $mime = PublicInbox::MIME->create( + my $mime = Email::MIME->create( header => [ From => 'a@example.com', To => 'b@example.com',