mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-28 04:55:37 -05:00
leveral serial.String in code
This commit is contained in:
@@ -31,6 +31,6 @@ func TestDomainAddressRequest(t *testing.T) {
|
||||
assert.Error(err).IsNil()
|
||||
|
||||
assert.Byte(request.Fragment).Equals(1)
|
||||
assert.StringLiteral(request.Address.String()).Equals("v2ray.com:80")
|
||||
assert.String(request.Address).Equals("v2ray.com:80")
|
||||
assert.Bytes(request.Data.Value).Equals([]byte("Actual payload"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user