1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-28 13:05:28 -05:00

update http connect test

This commit is contained in:
sunshineplan
2017-12-03 10:45:26 +08:00
committed by GitHub
parent cf0fc6e4a0
commit 8ec1a98040

View File

@@ -284,7 +284,7 @@ func TestHttpBasicAuth(t *testing.T) {
setProxyBasicAuth(req, "a", "c")
resp, err := client.Do(req)
assert(err, IsNil)
assert(resp.StatusCode, Equals, 401)
assert(resp.StatusCode, Equals, 407)
}
{