]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/psgi_mount.t
t/*.t: reduce dependency on Email::MIME APIs
[public-inbox.git] / t / psgi_mount.t
index 3afb1fb59e7251850570729a9c9e9b601983ea6b..bd492dcb2ac372a2aec0720e3caa26339f2a1dae 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 use Test::More;
-use Email::MIME;
+use PublicInbox::MIME;
 use PublicInbox::TestCommon;
 my ($tmpdir, $for_destroy) = tmpdir();
 my $maindir = "$tmpdir/main.git";
@@ -25,7 +25,7 @@ my $git = PublicInbox::Git->new($maindir);
 my $im = PublicInbox::Import->new($git, 'test', $addr);
 $im->init_bare;
 {
-       my $mime = Email::MIME->new(<<EOF);
+       my $mime = PublicInbox::MIME->new(<<EOF);
 From: Me <me\@example.com>
 To: You <you\@example.com>
 Cc: $addr