]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/plack.t
www: implement hybrid flat+thread conversation view
[public-inbox.git] / t / plack.t
index a4f324571ac12fe3e739b3f788a5a33b9de74f0c..209c6f90bc285c0819ddeaf64ef9483a4a680ee7 100644 (file)
--- a/t/plack.t
+++ b/t/plack.t
@@ -101,7 +101,7 @@ EOF
                        my $res = $cb->(GET($u));
                        is(301, $res->code, "redirect for missing /");
                        my $location = $res->header('Location');
-                       like($location, qr!/\Q$t\E/#u\z!,
+                       like($location, qr!/t/#u\z!,
                                'redirected with missing /');
                });
        }