X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Ffilter_mirror.t;h=678d9fb029c1baae92dde199927d8a6f31263ad5;hb=930d2dc63e04c652e3b64cc7f3b3a7d377637065;hp=0e641a03ca61544a7abfacf8d238d3084acaaade;hpb=e39585ee2bdcbeaab7b6bd33b3568021042d0879;p=public-inbox.git diff --git a/t/filter_mirror.t b/t/filter_mirror.t index 0e641a03..678d9fb0 100644 --- a/t/filter_mirror.t +++ b/t/filter_mirror.t @@ -1,4 +1,4 @@ -# Copyright (C) 2016-2020 all contributors +# Copyright (C) 2016-2021 all contributors # License: AGPL-3.0+ use strict; use warnings; @@ -9,7 +9,7 @@ use_ok 'PublicInbox::Filter::Mirror'; my $f = PublicInbox::Filter::Mirror->new; ok($f, 'created PublicInbox::Filter::Mirror object'); { - my $email = mime_load 't/mda-mime.eml'; + my $email = eml_load 't/mda-mime.eml'; is($f->ACCEPT, $f->delivery($email), 'accept any trash that comes'); }