X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fprecheck.t;h=360dc74f88f748d0bd081929f6d786be193d3849;hb=42e1fb419b74e0b5c9315dacdd08a0e0c91962e5;hp=a8fd31b1ab33423d3261d807a554e08a7d3baa66;hpb=d4507254cc1261c535e48994c99b1e3c7e1f3be2;p=public-inbox.git diff --git a/t/precheck.t b/t/precheck.t index a8fd31b1..360dc74f 100644 --- a/t/precheck.t +++ b/t/precheck.t @@ -1,9 +1,9 @@ -# Copyright (C) 2014-2020 all contributors +# Copyright (C) 2014-2021 all contributors # License: AGPL-3.0+ use strict; use warnings; use Test::More; -use Email::Simple; +use PublicInbox::Eml; use PublicInbox::MDA; sub do_checks { @@ -27,7 +27,7 @@ sub do_checks { } { - my $s = Email::Simple->new(<<'EOF'); + my $s = PublicInbox::Eml->new(<<'EOF'); From: abc@example.com To: abc@example.com Cc: c@example.com, another-list@example.com @@ -43,7 +43,7 @@ EOF } { - do_checks(Email::Simple->new(<<'EOF')); + do_checks(PublicInbox::Eml->new(<<'EOF')); From: a@example.com To: b@example.com Cc: c@example.com @@ -57,7 +57,7 @@ EOF } { - do_checks(Email::Simple->new(<<'EOF')); + do_checks(PublicInbox::Eml->new(<<'EOF')); From: a@example.com To: b+plus@example.com Cc: John Doe @@ -72,7 +72,7 @@ EOF { my $recipient = 'b@example.com'; - my $s = Email::Simple->new(<<'EOF'); + my $s = PublicInbox::Eml->new(<<'EOF'); To: b@example.com Cc: c@example.com Content-Type: text/plain