From 4e519086a895d161df658c7d5028dafbb4cfb30f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 14 Apr 2014 06:59:04 +0000 Subject: t/cgi: cleanup: no need for additional block Not sure what I was thinking... --- t/cgi.t | 5 +---- 1 file changed, 1 insertion(+), 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"); } -- cgit v1.2.3-24-ge0c7