about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-10 20:12:03 +0000
committerEric Wong <e@80x24.org>2014-04-11 22:23:58 +0000
commit98352cd1c066d8cc16594f000509997cfd590985 (patch)
tree2f03df72d8af5eac2de0c9b0ecca45e798a04fea /t
parent725e812536984403e862bd8c591b63d3bc58b450 (diff)
downloadpublic-inbox-98352cd1c066d8cc16594f000509997cfd590985.tar.gz
Code should be consistent with the design docs
(and we will need better tests).
Diffstat (limited to 't')
-rw-r--r--t/cgi.t2
-rw-r--r--t/view.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/cgi.t b/t/cgi.t
index 93a48d00..2c4c824c 100644
--- a/t/cgi.t
+++ b/t/cgi.t
@@ -106,7 +106,7 @@ EOF
         like($res->{body}, qr/<title>test for public-inbox/,
                 "set title in XML feed");
         like($res->{body},
-                qr!http://test\.example\.com/test/mid/blah%40example\.com!,
+                qr!http://test\.example\.com/test/m/blah%40example\.com!,
                 "link id set");
         like($res->{body}, qr/what\?/, "reply included");
 
diff --git a/t/view.t b/t/view.t
index fbdbd884..ad79c413 100644
--- a/t/view.t
+++ b/t/view.t
@@ -40,7 +40,7 @@ EOF
                 "long quoted text is anchored");
 
         # short page
-        my $pfx = "http://example.com/test/full";
+        my $pfx = "http://example.com/test/f";
         my $short = PublicInbox::View->as_html($s, $pfx);
         like($short, qr/\n&gt; keep this inline/,
                 "short quoted text is inline");