X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fprecheck.t;h=11193e38163141cbfbb685fffe0588013ec654a3;hb=933fce93167eba8645e637c363561575db9f9420;hp=a8fd31b1ab33423d3261d807a554e08a7d3baa66;hpb=d4507254cc1261c535e48994c99b1e3c7e1f3be2;p=public-inbox.git diff --git a/t/precheck.t b/t/precheck.t index a8fd31b1..11193e38 100644 --- a/t/precheck.t +++ b/t/precheck.t @@ -3,7 +3,7 @@ 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