1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

remove an unused variable.

This commit is contained in:
Tanaka Akira 2019-07-11 13:04:07 +09:00
parent 26d674fdc7
commit d34303ad10

View file

@ -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|