Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/test_net_http_persistent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ def test_proxy_equals_env
def test_proxy_equals_nil
@http.proxy = nil

assert_equal nil, @http.proxy_uri
assert_nil @http.proxy_uri

assert_equal 1, @http.generation, 'generation'
assert_equal 1, @http.ssl_generation, 'ssl_generation'
Expand Down Expand Up @@ -1094,7 +1094,7 @@ def test_request_connection_close_request
assert_kind_of Net::HTTP::Get, req
assert_equal '/path', req.path
assert_equal 'close', req['connection']
assert_equal nil, req['keep-alive']
assert_nil req['keep-alive']

assert c.http.finished?
end
Expand Down