X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fplack.t;fp=t%2Fplack.t;h=4b830a21e35c72b3bf1712d0150ae73b8483a144;hb=dda6cc91f8fbaaac187366957be6b828496e12f8;hp=37a6b39486e06ea1e4fc575893c3de96e09bc7f1;hpb=f82c96666b5d51b426f227578112ba3a4fde0538;p=public-inbox.git diff --git a/t/plack.t b/t/plack.t index 37a6b394..4b830a21 100644 --- 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