about summary refs log tree commit homepage
path: root/t/view.t
diff options
context:
space:
mode:
Diffstat (limited to 't/view.t')
-rw-r--r--t/view.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/view.t b/t/view.t
index ad79c413..ef1b74c9 100644
--- a/t/view.t
+++ b/t/view.t
@@ -33,7 +33,7 @@ EOF
         my $html = PublicInbox::View->as_html($s);
 
         # ghetto
-        like($html, qr/<a href="?hello%40/s, "MID link present");
+        like($html, qr/<a href="hello%40/s, "MID link present");
         like($html, qr/hello world\b/, "body present");
         like($html, qr/&gt; keep this inline/, "short quoted text is inline");
         like($html, qr/<a name=[^>]+>&gt; Long and wordy/,
@@ -44,7 +44,7 @@ EOF
         my $short = PublicInbox::View->as_html($s, $pfx);
         like($short, qr/\n&gt; keep this inline/,
                 "short quoted text is inline");
-        like($short, qr/<a href=\Q$pfx\E#[^>]+>Long and wordy/,
+        like($short, qr/<a href="\Q$pfx\E#[^>]+>Long and wordy/,
                 "long quoted text is made into a link");
         ok(length($short) < length($html), "short page is shorter");
 }