X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fplack.t;h=31ec58daa99761eff6e9a1664a60c3391711f066;hb=a5409589fe53734ed073dddb15f0a8033052986b;hp=067a59333bdc8a542a20cd861e4dbaafbb733cf7;hpb=1b4b2c7b8b2f2df8f114617d2e875eaf5c839ce0;p=public-inbox.git diff --git a/t/plack.t b/t/plack.t index 067a5933..31ec58da 100644 --- a/t/plack.t +++ b/t/plack.t @@ -1,4 +1,4 @@ -# Copyright (C) 2014, Eric Wong and all contributors +# Copyright (C) 2014-2015 all contributors # License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt) use strict; use warnings; @@ -116,7 +116,7 @@ EOF my ($cb) = @_; my $res = $cb->(GET($pfx . '/blah%40example.com/raw')); is(200, $res->code, 'success response received for /*/raw'); - like($res->content, qr!\AFrom !, "mbox returned"); + like($res->content, qr!^From !sm, "mbox returned"); }); # legacy redirects