X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fplack.t;h=40ff2baa72739e72d80b2b2969327b899a7df37e;hb=115f68f1e7aff78c27fdeec642e52294fcf20ad8;hp=db72e6cc3bcae16eac8b432e5e5c084cdef02484;hpb=84399f7ea3093d4c05f2ef1a89000924fdd5f531;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