]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/cgi.t
t/cgi: cleanup: no need for additional block
[public-inbox.git] / t / cgi.t
diff --git a/t/cgi.t b/t/cgi.t
index 3ae879812fa0ca99de383f5cc099fe2d8a78716f..ae7cc730e7203ea1c1c5991233d52a7dff7597ea 100644 (file)
--- a/t/cgi.t
+++ b/t/cgi.t
@@ -175,11 +175,8 @@ EOF
        like($res->{head}, qr/Status: 200 OK/, "200 response");
        $res = cgi_run("/test/f/blahblah\@example.con.html");
        like($res->{head}, qr/Status: 404 Not Found/, "mid.html miss");
-}
 
-{
-       local $ENV{HOME} = $home;
-       my $res = cgi_run("/test/");
+       $res = cgi_run("/test/");
        like($res->{body}, qr/slashy%2Fasdf%40example\.com/,
                "slashy URL generated correctly");
 }