mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
check error for dial in socks test
This commit is contained in:
parent
471b655934
commit
22e867cb85
@ -38,6 +38,7 @@ func TestTCPConnection(t *testing.T) {
|
||||
IP: []byte{127, 0, 0, 1},
|
||||
Port: int(socksPort),
|
||||
})
|
||||
assert.Error(err).IsNil()
|
||||
|
||||
authRequest := socks5AuthMethodRequest(byte(0))
|
||||
nBytes, err := conn.Write(authRequest)
|
||||
|
Loading…
Reference in New Issue
Block a user