summaryrefslogtreecommitdiff
path: root/test/webrick/test_httpproxy.rb
diff options
context:
space:
mode:
authorTanaka Akira <akr@fsij.org>2019-07-11 13:04:07 +0900
committerTanaka Akira <akr@fsij.org>2019-07-11 13:04:07 +0900
commitd34303ad109b93445b01d0420c9a5bfeffafac38 (patch)
tree162634608afe955871fc843bae038e87b789da64 /test/webrick/test_httpproxy.rb
parent26d674fdc73cec3777d1a719b42ccbe54c18a966 (diff)
remove an unused variable.
Diffstat (limited to 'test/webrick/test_httpproxy.rb')
-rw-r--r--test/webrick/test_httpproxy.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/webrick/test_httpproxy.rb b/test/webrick/test_httpproxy.rb
index 8bc8a1240a..8149d78300 100644
--- a/test/webrick/test_httpproxy.rb
+++ b/test/webrick/test_httpproxy.rb
@@ -244,7 +244,6 @@ class TestWEBrickHTTPProxy < Test::Unit::TestCase
res.chunked = true
res.body = -> (socket) { body.each_char {|c| socket.write c } }
}
- http = Net::HTTP.new(addr, port, addr, port)
# Don't use Net::HTTP because it uses HTTP/1.1.
TCPSocket.open(addr, port) {|s|