]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/plack.t
clone|fetch|--mirror: cull manifest in partial mirrors
[public-inbox.git] / t / plack.t
index db72e6cc3bcae16eac8b432e5e5c084cdef02484..40ff2baa72739e72d80b2b2969327b899a7df37e 100644 (file)
--- 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