X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fv2reindex.t;h=b97c6498c27b085c029b792392e10c5181b422a3;hb=e6b7a7f5f70fb89a54ff158bc6c8b564149947e5;hp=b6164ff810febd2936236e7ac2bd42f0d2e3bdc8;hpb=4bebfa0c80ad7f4596a7dca98b39121470a42af0;p=public-inbox.git diff --git a/t/v2reindex.t b/t/v2reindex.t index b6164ff8..b97c6498 100644 --- a/t/v2reindex.t +++ b/t/v2reindex.t @@ -24,15 +24,13 @@ my $agpl = do { <$fh>; }; my $phrase = q("defending all users' freedom"); -my $mime = PublicInbox::MIME->create( - header => [ - From => 'a@example.com', - To => 'test@example.com', - Subject => 'this is a subject', - Date => 'Fri, 02 Oct 1993 00:00:00 +0000', - ], - body => $agpl, -); +my $mime = PublicInbox::MIME->new(<<'EOF'.$agpl); +From: a@example.com +To: test@example.com +Subject: this is a subject +Date: Fri, 02 Oct 1993 00:00:00 +0000 + +EOF my $minmax; my $msgmap; my ($mark1, $mark2, $mark3, $mark4);