We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e5a8fb commit 32a7823Copy full SHA for 32a7823
test/test_net_http_persistent.rb
@@ -786,7 +786,7 @@ def test_proxy_equals_env
786
def test_proxy_equals_nil
787
@http.proxy = nil
788
789
- assert_equal nil, @http.proxy_uri
+ assert_nil @http.proxy_uri
790
791
assert_equal 1, @http.generation, 'generation'
792
assert_equal 1, @http.ssl_generation, 'ssl_generation'
@@ -1094,7 +1094,7 @@ def test_request_connection_close_request
1094
assert_kind_of Net::HTTP::Get, req
1095
assert_equal '/path', req.path
1096
assert_equal 'close', req['connection']
1097
- assert_equal nil, req['keep-alive']
+ assert_nil req['keep-alive']
1098
1099
assert c.http.finished?
1100
end
0 commit comments