]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/plack.t
www: omit [thread overview] link for unindexed v1
[public-inbox.git] / t / plack.t
index 3ba2e6fb866c99c3769832da03b73e1287d6092c..1cee286d63a61e157e53dc88c8ba0e9dec9564e4 100644 (file)
--- a/t/plack.t
+++ b/t/plack.t
@@ -158,6 +158,8 @@ my $c1 = sub {
        like($html, qr!<title>hihi - Me</title>!, 'HTML returned');
        like($html, qr!<a\nhref=raw!s, 'raw link present');
        like($html, qr!&gt; quoted text!s, 'quoted text inline');
+       unlike($html, qr!thread overview!,
+               'thread overview not shown w/o ->over');
 
        $path .= 'f/';
        $res = $cb->(GET($pfx . $path));