From d34303ad109b93445b01d0420c9a5bfeffafac38 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 11 Jul 2019 13:04:07 +0900 Subject: remove an unused variable. --- test/webrick/test_httpproxy.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'test/webrick/test_httpproxy.rb') 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| -- cgit v1.2.3