]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/filter_vger.t
www: drop --subject from "git send-email" instructions
[public-inbox.git] / t / filter_vger.t
index 843035c2ec9ce6236bb0a45137408961e072130e..92d6a9f3df582c125de11c07e4cdae181c3caa97 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2016-2018 all contributors <meta@public-inbox.org>
+# Copyright (C) 2016-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use warnings;
 use Test::More;
-use Email::MIME;
+use PublicInbox::Eml;
 use_ok 'PublicInbox::Filter::Vger';
 
 my $f = PublicInbox::Filter::Vger->new;
@@ -21,7 +21,7 @@ More majordomo info at  http://vger.kernel.org/majordomo-info.html
 Please read the FAQ at  http://www.tux.org/lkml/
 EOF
 
-       my $mime = Email::MIME->new($lkml);
+       my $mime = PublicInbox::Eml->new($lkml);
        $mime = $f->delivery($mime);
        is("keep this\n", $mime->body, 'normal message filtered OK');
 }
@@ -37,7 +37,7 @@ the body of a message to majordomo@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 EOF
 
-       my $mime = Email::MIME->new($no_nl);
+       my $mime = PublicInbox::Eml->new($no_nl);
        $mime = $f->delivery($mime);
        is('OSX users :P', $mime->body, 'missing trailing LF in original OK');
 }