about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-04-12 21:10:05 +0000
committerEric Wong <e@80x24.org>2017-04-12 21:10:05 +0000
commit3d6bb5064927764e57758d195db78639f4ec87f3 (patch)
tree93bec3910c76164f105ddcea46a3fcc365f10d1a /t
parent8a3fc4a2f027b36f27225ceee5908c571c8f4f47 (diff)
parentde243560e2caa1d19bcbf518edfaf8b016161245 (diff)
downloadpublic-inbox-3d6bb5064927764e57758d195db78639f4ec87f3.tar.gz
* origin/master:
  search: fix help message for searching within quotes
  learn: scan all inboxes when learning spam
  watchmaildir: do not reject lowercase flags on Maildir files
  searchview: show full (&x=t) messages in ascending chronlogical order
  searchview: add "t" id to link to thread overview
  extmsg: use updated mail-archive.com URL
  view: escape HTML description name
Diffstat (limited to '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 46fbe410..2181b5ef 100644
--- a/t/view.t
+++ b/t/view.t
@@ -124,7 +124,7 @@ EOF
                 Email::MIME->create(
                         attributes => {
                                 content_type => 'text/plain',
-                                filename => "foo.patch",
+                                filename => "foo&.patch",
                         },
                         body => "--- a/file\n+++ b/file\n" .
                                 "@@ -49, 7 +49,34 @@\n",
@@ -140,7 +140,7 @@ EOF
         );
 
         my $html = msg_html($mime);
-        like($html, qr!.*Attachment #2: foo\.patch --!,
+        like($html, qr!.*Attachment #2: foo&(?:amp|#38);\.patch --!,
                 "parts split with filename");
 }