]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/view.t
www: stop generating /$MESSAGE_ID/f/ links
[public-inbox.git] / t / view.t
index 568ab303bced22347d6e1b6ee26e2b0c096a0829..2da741a87931c69e2c9282703829a6b4dc8c8186 100644 (file)
--- a/t/view.t
+++ b/t/view.t
@@ -49,18 +49,6 @@ EOF
        like($html, qr/> keep this inline/, "short quoted text is inline");
        like($html, qr/<a\nid=[^>]+><\/a>&gt; Long and wordy/,
                "long quoted text is anchored");
-
-       # short page
-       my $pfx = "../hello%40example.com/f/";
-       $mime = Email::MIME->new($s);
-       my $short = PublicInbox::View::msg_html(undef, $mime, $pfx);
-       like($short, qr!<a\nhref="\.\./hello%40example\.com/f/!s,
-               "MID link present");
-       like($short, qr/\n&gt; keep this inline/,
-               "short quoted text is inline");
-       like($short, qr/<a\nhref="\Q$pfx\E#[^>]+>Long and wordy/,
-               "long quoted text is made into a link");
-       ok(length($short) < length($html), "short page is shorter");
 }
 
 # multipart crap