mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-30 15:36:44 +00:00
refine buffer usage
This commit is contained in:
16 files changed
+73
-45
No files matched your search
@@ -54,7 +54,7 @@ func TestSinglePacket(t *testing.T) {
|
||||
|
||||
respPayload, err := traffic.InboundOutput().Read()
|
||||
assert.Error(err).IsNil()
|
||||
assert.Bytes(respPayload.Value).Equals([]byte("Processed: Data to be sent to remote"))
|
||||
assert.String(respPayload.String()).Equals("Processed: Data to be sent to remote")
|
||||
|
||||
tcpServer.Close()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user