X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fv2-add-remove-add.t;fp=t%2Fv2-add-remove-add.t;h=ca998334ce1a4510cf440c73e2abd18d4ce522a9;hb=62d1a4da996bd9a664be954f71f78fe052f9df16;hp=328f5326e36231fd8845b31e233061774d9d6763;hpb=4bd22e9528484c5d964ecba277fd6a7d5e023461;p=public-inbox.git diff --git a/t/v2-add-remove-add.t b/t/v2-add-remove-add.t index 328f5326..ca998334 100644 --- a/t/v2-add-remove-add.t +++ b/t/v2-add-remove-add.t @@ -3,10 +3,9 @@ use strict; use warnings; use Test::More; -use PublicInbox::MIME; use PublicInbox::TestCommon; require_git(2.6); -require_mods(qw(DBD::SQLite Search::Xapian)); +require_mods(qw(DBD::SQLite Search::Xapian Email::MIME)); use_ok 'PublicInbox::V2Writable'; my ($inboxdir, $for_destroy) = tmpdir(); my $ibx = { @@ -16,7 +15,7 @@ my $ibx = { -primary_address => 'test@example.com', }; $ibx = PublicInbox::Inbox->new($ibx); -my $mime = PublicInbox::MIME->create( +my $mime = Email::MIME->create( header => [ From => 'a@example.com', To => 'test@example.com',