update http connect test

pull/758/head
sunshineplan 2017-12-03 10:45:26 +08:00 committed by GitHub
parent cf0fc6e4a0
commit 8ec1a98040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)
}
{