1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-13 23:24:27 -05:00

remove use of small buffer in tests

This commit is contained in:
v2ray
2016-08-01 22:59:18 +02:00
parent 3e4bdc4b0c
commit c42ed62fd5
4 changed files with 18 additions and 18 deletions

View File

@@ -31,7 +31,7 @@ func TestSocks4AuthenticationResponseToBytes(t *testing.T) {
response := NewSocks4AuthenticationResponse(byte(0x10), 443, []byte{1, 2, 3, 4})
buffer := alloc.NewSmallBuffer().Clear()
buffer := alloc.NewLocalBuffer(2048).Clear()
defer buffer.Release()
response.Write(buffer)