about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/psgi_v2.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/psgi_v2.t b/t/psgi_v2.t
index aa3279cc..bdf23deb 100644
--- a/t/psgi_v2.t
+++ b/t/psgi_v2.t
@@ -182,6 +182,9 @@ test_psgi(sub { $www->call(@_) }, sub {
         $res = $cb->(GET('/v2test/reuse@mid/T/'));
         $raw = $res->content;
         like($raw, qr/\b4\+ messages\b/, 'thread overview shown with /T/');
+        my @over = ($raw =~ m/^\d{4}-\d+-\d+\s+\d+:\d+ (.+)$/gm);
+        is_deeply(\@over, [ '<a', '` <a', '` <a', '` <a' ],
+                'duplicate messages share the same root');
 
         $res = $cb->(GET('/v2test/reuse@mid/t/'));
         $raw = $res->content;