You've already forked v2ray-core
migrate int to int32
This commit is contained in:
@@ -16,10 +16,10 @@ func TestBufferClear(t *testing.T) {
|
||||
|
||||
payload := "Bytes"
|
||||
buffer.Append([]byte(payload))
|
||||
assert(buffer.Len(), Equals, len(payload))
|
||||
assert(buffer.Len(), Equals, int32(len(payload)))
|
||||
|
||||
buffer.Clear()
|
||||
assert(buffer.Len(), Equals, 0)
|
||||
assert(buffer.Len(), Equals, int32(0))
|
||||
}
|
||||
|
||||
func TestBufferIsEmpty(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user