]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/filter_base.t
inboxidle: avoid needless syscalls on refresh
[public-inbox.git] / t / filter_base.t
index bbd64189fb5fa2a2484d100bd6a3035708ecade0..47d0220f567ce3791c91f67dce900e43f3b2fa1d 100644 (file)
@@ -21,13 +21,13 @@ use_ok 'PublicInbox::Filter::Base';
 
 {
        my $f = PublicInbox::Filter::Base->new;
-       my $email = mime_load 't/filter_base-xhtml.eml';
+       my $email = eml_load 't/filter_base-xhtml.eml';
        is($f->delivery($email), 100, "xhtml rejected");
 }
 
 {
        my $f = PublicInbox::Filter::Base->new;
-       my $email = mime_load 't/filter_base-junk.eml';
+       my $email = eml_load 't/filter_base-junk.eml';
        is($f->delivery($email), 100, 'proprietary format rejected on glob');
 }