mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-21 00:36:25 -05:00
fix test break
This commit is contained in:
parent
546c2fb226
commit
16c6a5f078
@ -34,7 +34,7 @@ func TestRequestSerialization(t *testing.T) {
|
||||
Command: protocol.RequestCommandTCP,
|
||||
Address: net.DomainAddress("www.v2ray.com"),
|
||||
Port: net.Port(443),
|
||||
Security: protocol.Security(protocol.SecurityType_AES128_GCM),
|
||||
Security: protocol.SecurityType_AES128_GCM,
|
||||
}
|
||||
|
||||
buffer := buf.New()
|
||||
@ -87,7 +87,7 @@ func TestInvalidRequest(t *testing.T) {
|
||||
Command: protocol.RequestCommand(100),
|
||||
Address: net.DomainAddress("www.v2ray.com"),
|
||||
Port: net.Port(443),
|
||||
Security: protocol.Security(protocol.SecurityType_AES128_GCM),
|
||||
Security: protocol.SecurityType_AES128_GCM,
|
||||
}
|
||||
|
||||
buffer := buf.New()
|
||||
@ -127,7 +127,7 @@ func TestMuxRequest(t *testing.T) {
|
||||
Version: 1,
|
||||
User: user,
|
||||
Command: protocol.RequestCommandMux,
|
||||
Security: protocol.Security(protocol.SecurityType_AES128_GCM),
|
||||
Security: protocol.SecurityType_AES128_GCM,
|
||||
}
|
||||
|
||||
buffer := buf.New()
|
||||
|
Loading…
Reference in New Issue
Block a user