mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-10-04 16:14:02 -04:00
rewrite alloc.buffer
This commit is contained in:
@@ -32,5 +32,5 @@ func TestDomainAddressRequest(t *testing.T) {
|
||||
assert.Byte(request.Fragment).Equals(1)
|
||||
assert.Address(request.Address).EqualsString("v2ray.com")
|
||||
assert.Port(request.Port).Equals(v2net.Port(80))
|
||||
assert.Bytes(request.Data.Value).Equals([]byte("Actual payload"))
|
||||
assert.String(request.Data.String()).Equals("Actual payload")
|
||||
}
|
||||
|
Reference in New Issue
Block a user