]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/plack.t
examples/public-inbox.psgi: make output chunky by default
[public-inbox.git] / t / plack.t
index 067a59333bdc8a542a20cd861e4dbaafbb733cf7..31ec58daa99761eff6e9a1664a60c3391711f066 100644 (file)
--- a/t/plack.t
+++ b/t/plack.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2014, Eric Wong <normalperson@yhbt.net> and all contributors
+# Copyright (C) 2014-2015 all contributors <meta@public-inbox.org>
 # 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