X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Ffilter_vger.t;h=9d71f16d03c8463980f4742ad21f3be277d4be6d;hb=e6b7a7f5f70fb89a54ff158bc6c8b564149947e5;hp=843035c2ec9ce6236bb0a45137408961e072130e;hpb=3d41aa23f35501ca92aab8aa42980fa73f7fa74f;p=public-inbox.git diff --git a/t/filter_vger.t b/t/filter_vger.t index 843035c2..9d71f16d 100644 --- a/t/filter_vger.t +++ b/t/filter_vger.t @@ -1,9 +1,9 @@ -# Copyright (C) 2016-2018 all contributors +# Copyright (C) 2016-2020 all contributors # License: AGPL-3.0+ use strict; use warnings; use Test::More; -use Email::MIME; +use PublicInbox::MIME; 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::MIME->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::MIME->new($no_nl); $mime = $f->delivery($mime); is('OSX users :P', $mime->body, 'missing trailing LF in original OK'); }