mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
fix auth test
This commit is contained in:
parent
f8e6927581
commit
81c9743ce0
@ -43,7 +43,7 @@ func TestAuthenticationReaderWriter(t *testing.T) {
|
||||
}, PlainChunkSizeParser{}, cache, protocol.TransferTypeStream, nil)
|
||||
|
||||
assert(writer.WriteMultiBuffer(buf.NewMultiBufferValue(payload)), IsNil)
|
||||
assert(cache.Len(), Equals, int32(82676))
|
||||
assert(cache.Len(), Equals, int32(82658))
|
||||
assert(writer.WriteMultiBuffer(buf.MultiBuffer{}), IsNil)
|
||||
|
||||
reader := NewAuthenticationReader(&AEADAuthenticator{
|
||||
|
Loading…
Reference in New Issue
Block a user