]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/plack.t
imap: drop old, pre-Parse::RecDescent search parser
[public-inbox.git] / t / plack.t
index 37a6b39486e06ea1e4fc575893c3de96e09bc7f1..4b830a21e35c72b3bf1712d0150ae73b8483a144 100644 (file)
--- a/t/plack.t
+++ b/t/plack.t
@@ -209,6 +209,10 @@ test_psgi($app, sub {
        my $res = $cb->(GET($pfx . '/blah@example.com/raw'));
        is(200, $res->code, 'success response received for /*/raw');
        like($res->content, qr!^From !sm, "mbox returned");
+
+       $res = $cb->(GET($pfx . '/blah@example.com/t.mbox.gz'));
+       is(501, $res->code, '501 when overview missing');
+       like($res->content, qr!\bOverview\b!, 'overview omission noted');
 });
 
 # legacy redirects