1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-23 12:02:58 -05:00

cleanup MultiBuffer

This commit is contained in:
Darien Raymond
2017-11-09 00:55:28 +01:00
parent 3d2fd372e1
commit 66b82e4ab7
14 changed files with 26 additions and 24 deletions

View File

@@ -25,7 +25,7 @@ func TestChunkStreamIO(t *testing.T) {
b.AppendBytes('e', 'f', 'g')
assert(writer.Write(buf.NewMultiBufferValue(b)), IsNil)
assert(writer.Write(buf.NewMultiBuffer()), IsNil)
assert(writer.Write(buf.MultiBuffer{}), IsNil)
assert(cache.Len(), Equals, 13)