about summary refs log tree commit homepage
path: root/t/psgi_v2.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-06-15 20:23:42 +0000
committerEric Wong <e@80x24.org>2019-06-15 20:25:25 +0000
commitf3afddbe621614f684c2e855a24060fca8dce803 (patch)
treefc4376fb0e326ab71c08430245a18b86581756d5 /t/psgi_v2.t
parent0f7c7d634f3018591dee65650bbc6f6a5cc18dbc (diff)
downloadpublic-inbox-f3afddbe621614f684c2e855a24060fca8dce803.tar.gz
I could not find a place to put the link the top without
making navigation too cluttered.  Putting it at the bottom
of the page seems reasonable...
Diffstat (limited to 't/psgi_v2.t')
-rw-r--r--t/psgi_v2.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/psgi_v2.t b/t/psgi_v2.t
index 5c358cde..b8062de2 100644
--- a/t/psgi_v2.t
+++ b/t/psgi_v2.t
@@ -155,7 +155,7 @@ test_psgi(sub { $www->call(@_) }, sub {
         $res = $cb->(GET('/v2test/?q=m:a-mid@b&x=t'));
         is($res->code, 200, 'success with threaded search');
         my $raw = $res->content;
-        ok($raw =~ s/\A.*>Results 1-3 of 3<//s, 'got all results');
+        ok($raw =~ s/\A.*>Results 1-3 of 3\b//s, 'got all results');
         my @over = ($raw =~ m/\d{4}-\d+-\d+\s+\d+:\d+ (.+)$/gm);
         is_deeply(\@over, [ '<a', '` <a', '` <a' ], 'threaded messages show up');