Fix socksaddr type condition

This commit is contained in:
世界
2022-08-29 19:58:58 +08:00
parent dbda0ed98a
commit cd98ea5008
7 changed files with 12 additions and 10 deletions

View File

@@ -60,10 +60,6 @@ func TestChainedInbound(t *testing.T) {
Type: C.TypeShadowsocks,
Tag: "ss-out",
ShadowsocksOptions: option.ShadowsocksOutboundOptions{
ServerOptions: option.ServerOptions{
Server: "127.0.0.1",
ServerPort: serverPort,
},
Method: method,
Password: password,
OutboundDialerOptions: option.OutboundDialerOptions{
@@ -97,5 +93,5 @@ func TestChainedInbound(t *testing.T) {
},
},
})
testSuit(t, clientPort, testPort)
testTCP(t, clientPort, testPort)
}