X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fplack.t;fp=t%2Fplack.t;h=40ff2baa72739e72d80b2b2969327b899a7df37e;hb=60196eedef969743a76f915825b741b69ed1c171;hp=db72e6cc3bcae16eac8b432e5e5c084cdef02484;hpb=d04a5a1eb026fa740e330d2b64af17d80e746624;p=public-inbox.git diff --git a/t/plack.t b/t/plack.t index db72e6cc..40ff2baa 100644 --- a/t/plack.t +++ b/t/plack.t @@ -82,6 +82,8 @@ test_psgi($app, sub { $res = $cb->(GET('http://example.com/test/crlf@example.com/raw')); is($res->code, 200, 'retrieved CRLF raw'); like($res->content, qr/\r/, 'CR preserved in raw message'); + $res = $cb->(GET('http://example.com/test/bogus@example.com/raw')); + is($res->code, 404, 'missing /raw is 404'); }); # redirect with newsgroup