X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fmsgtime.t;h=89fd9e37b85a13ec87079b1a7eb0f5bff645ec34;hb=0283273a14e1871955f6a9132f4f3f7884ec8a3f;hp=d9f8e6417d5bd3de73c636a5a1c2cf9327e7a0ec;hpb=e6b7a7f5f70fb89a54ff158bc6c8b564149947e5;p=public-inbox.git diff --git a/t/msgtime.t b/t/msgtime.t index d9f8e641..89fd9e37 100644 --- a/t/msgtime.t +++ b/t/msgtime.t @@ -3,7 +3,7 @@ use strict; use warnings; use Test::More; -use PublicInbox::MIME; +use PublicInbox::Eml; use PublicInbox::MsgTime; use PublicInbox::TestCommon; @@ -11,7 +11,7 @@ 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->new(<<"EOF"); + my $mime = PublicInbox::Eml->new(<<"EOF"); From: a\@example.com To: b\@example.com Subject: this is a subject @@ -30,7 +30,7 @@ EOF sub timestamp ($) { my ($received) = @_; local $SIG{__WARN__} = sub {}; # Suppress warnings - my $mime = PublicInbox::MIME->new(<<"EOF"); + my $mime = PublicInbox::Eml->new(<<"EOF"); From: a\@example.com To: b\@example.com Subject: this is a subject