]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/feed.t
remove most internal Email::MIME usage
[public-inbox.git] / t / feed.t
index 373a1de825a72f647f4d25d818e6a58dfb0427db..5ad90a07c1c8c1bd0f346f661b7170567f473965 100644 (file)
--- a/t/feed.t
+++ b/t/feed.t
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 use Test::More;
-use PublicInbox::MIME;
+use PublicInbox::Eml;
 use PublicInbox::Feed;
 use PublicInbox::Import;
 use PublicInbox::Inbox;
@@ -36,7 +36,7 @@ my $im = PublicInbox::Import->new($git, $ibx->{name}, 'test@example');
 {
        $im->init_bare;
        foreach my $i (1..6) {
-               my $mime = PublicInbox::MIME->new(<<EOF);
+               my $mime = PublicInbox::Eml->new(<<EOF);
 From: ME <me\@example.com>
 To: U <u\@example.com>
 Message-Id: <$i\@example.com>
@@ -95,7 +95,7 @@ EOF
        # add a new spam message
        my $spam;
        {
-               $spam = PublicInbox::MIME->new(<<EOF);
+               $spam = PublicInbox::Eml->new(<<EOF);
 From: SPAMMER <spammer\@example.com>
 To: U <u\@example.com>
 Message-Id: <this-is-spam\@example.com>