1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 23:47:07 -05:00

fix reader test

This commit is contained in:
Darien Raymond 2018-07-27 23:34:49 +02:00
parent 720aca16d5
commit 8d689fb92d
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -29,10 +29,6 @@ func TestAdaptiveReader(t *testing.T) {
b, err = reader.ReadMultiBuffer()
assert(err, IsNil)
assert(b.Len(), Equals, int32(128*1024))
b, err = reader.ReadMultiBuffer()
assert(err, IsNil)
assert(b.Len(), Equals, int32(512*1024))
}
func TestBytesReaderWriteTo(t *testing.T) {