about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-04 01:42:41 +0000
committerEric Wong <normalperson@yhbt.net>2014-04-05 06:55:35 +0000
commit1397205077a2b2d196f6c469a15a4a4721f1d15f (patch)
treeb8d5aa3c4cfa6370cae24c9e3fa94436d5bd983b /t
parent71abf270f5b11f147be839a9b057e106d0f8509f (diff)
downloadpublic-inbox-1397205077a2b2d196f6c469a15a4a4721f1d15f.tar.gz
We'll go with .html and .txt suffixes on MIDs to benefit
static hosting setups.
Diffstat (limited to 't')
-rw-r--r--t/view.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/view.t b/t/view.t
index 93372d16..df79bd49 100644
--- a/t/view.t
+++ b/t/view.t
@@ -22,7 +22,7 @@ use PublicInbox::View;
         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");
 }
 
@@ -42,8 +42,8 @@ use PublicInbox::View;
                 header_str => [
                         From => 'a@example.com',
                         Subject => 'blargh',
-                        'Message-ID' => '<blah@xeample.com>',
-                        'In-Reply-To' => '<irp@xeample.com>',
+                        'Message-ID' => '<blah@example.com>',
+                        'In-Reply-To' => '<irp@example.com>',
                         ],
                 parts => $parts,
         );