X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fmsgtime.t;h=00d579997ac2694170d1c8416cb0903e079651e1;hb=be55542acc90572da54d828313c2416ae1c902b1;hp=d9f8e6417d5bd3de73c636a5a1c2cf9327e7a0ec;hpb=e6b7a7f5f70fb89a54ff158bc6c8b564149947e5;p=public-inbox.git
diff --git a/t/msgtime.t b/t/msgtime.t
index d9f8e641..00d57999 100644
--- a/t/msgtime.t
+++ b/t/msgtime.t
@@ -1,9 +1,9 @@
-# Copyright (C) 2016-2020 all contributors
+# Copyright (C) 2016-2021 all contributors
# License: AGPL-3.0+
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