about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-14 06:59:04 +0000
committerEric Wong <e@80x24.org>2014-04-14 08:04:04 +0000
commit4e519086a895d161df658c7d5028dafbb4cfb30f (patch)
treea7dd21a3c8b230bc51c07f7d654fde70c8949fb7
parent59438d115d1cf52d12258b5d94bae5219daaae41 (diff)
downloadpublic-inbox-4e519086a895d161df658c7d5028dafbb4cfb30f.tar.gz
Not sure what I was thinking...
-rw-r--r--t/cgi.t5
1 files changed, 1 insertions, 4 deletions
diff --git a/t/cgi.t b/t/cgi.t
index 3ae87981..ae7cc730 100644
--- 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");
 }