mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
check error for dial in socks test
This commit is contained in:
1 parent
471b655934
commit
22e867cb85
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user