diff options
author | Tanaka Akira <akr@fsij.org> | 2019-07-11 13:04:07 +0900 |
---|---|---|
committer | Tanaka Akira <akr@fsij.org> | 2019-07-11 13:04:07 +0900 |
commit | d34303ad109b93445b01d0420c9a5bfeffafac38 (patch) | |
tree | 162634608afe955871fc843bae038e87b789da64 /test | |
parent | 26d674fdc73cec3777d1a719b42ccbe54c18a966 (diff) | |
download | ruby-d34303ad109b93445b01d0420c9a5bfeffafac38.tar.gz |
remove an unused variable.
Diffstat (limited to 'test')
-rw-r--r-- | test/webrick/test_httpproxy.rb | 1 |
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| |