refine buffer usage

This commit is contained in:
Darien Raymond committed 2016-12-05 15:19:14 +01:00
1 parent 9ecf89657c
commit cf3eb0e77d
16 files changed
+73 -45

No files matched your search

+1 -1
View File
@@ -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()
}