about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/plack.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/plack.t b/t/plack.t
index a4f32457..209c6f90 100644
--- 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 /');
                 });
         }