]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/cgi: cleanup: no need for additional block
authorEric Wong <e@80x24.org>
Mon, 14 Apr 2014 06:59:04 +0000 (06:59 +0000)
committerEric Wong <e@80x24.org>
Mon, 14 Apr 2014 08:04:04 +0000 (08:04 +0000)
Not sure what I was thinking...

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");
 }