@@ -37,14 +37,14 @@ import HTTP.URIs
3737 end
3838
3939 withenv (" HTTPS_PROXY" => nothing , " https_proxy" => nothing ) do
40- @test HTTP. ConnectionRequest. getproxy (" https" , " https://julialang.org/" ) == nothing
40+ @test HTTP. ConnectionRequest. getproxy (" https" , " https://julialang.org/" ) === nothing
4141 end
4242 withenv (" HTTPS_PROXY" => " " ) do
4343 # to be compatible with Julia 1.0
44- @test HTTP. ConnectionRequest. getproxy (" https" , " https://julialang.org/" ) == nothing
44+ @test HTTP. ConnectionRequest. getproxy (" https" , " https://julialang.org/" ) === nothing
4545 end
4646 withenv (" https_proxy" => " " ) do
47- @test HTTP. ConnectionRequest. getproxy (" https" , " https://julialang.org/" ) == nothing
47+ @test HTTP. ConnectionRequest. getproxy (" https" , " https://julialang.org/" ) === nothing
4848 end
4949 withenv (" HTTPS_PROXY" => " https://user:pass@server:80" ) do
5050 @test HTTP. ConnectionRequest. getproxy (" https" , " https://julialang.org/" ) == " https://user:pass@server:80"
@@ -54,13 +54,13 @@ import HTTP.URIs
5454 end
5555
5656 withenv (" HTTP_PROXY" => nothing , " http_proxy" => nothing ) do
57- @test HTTP. ConnectionRequest. getproxy (" http" , " http://julialang.org/" ) == nothing
57+ @test HTTP. ConnectionRequest. getproxy (" http" , " http://julialang.org/" ) === nothing
5858 end
5959 withenv (" HTTP_PROXY" => " " ) do
60- @test HTTP. ConnectionRequest. getproxy (" http" , " http://julialang.org/" ) == nothing
60+ @test HTTP. ConnectionRequest. getproxy (" http" , " http://julialang.org/" ) === nothing
6161 end
6262 withenv (" http_proxy" => " " ) do
63- @test HTTP. ConnectionRequest. getproxy (" http" , " http://julialang.org/" ) == nothing
63+ @test HTTP. ConnectionRequest. getproxy (" http" , " http://julialang.org/" ) === nothing
6464 end
6565 withenv (" HTTP_PROXY" => " http://user:pass@server:80" ) do
6666 @test HTTP. ConnectionRequest. getproxy (" http" , " http://julialang.org/" ) == " http://user:pass@server:80"
0 commit comments