From: Eric Wong Date: Mon, 14 Apr 2014 06:59:04 +0000 (+0000) Subject: t/cgi: cleanup: no need for additional block X-Git-Tag: v1.0.0~1261 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=4e519086a895d161df658c7d5028dafbb4cfb30f;p=public-inbox.git t/cgi: cleanup: no need for additional block Not sure what I was thinking... --- 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"); }