25
25
{"[::2]", true}, // not a loopback address
27
27
{"barbaz.net", false}, // match as .barbaz.net
29
29
{"foofoobar.com", true}, // not match as a part of foobar.com
30
30
{"baz.com", true}, // not match as a part of barbaz.com
31
31
{"localhost.net", true}, // not match as suffix of address
32
32
{"local.localhost", true}, // not match as prefix as address
33
33
{"barbarbaz.net", true}, // not match because NO_PROXY have a '.'
37
37
func TestUseProxy(t *testing.T) {