Browse Source

fix auth test

pull/1524/head^2
Darien Raymond 6 years ago
parent
commit
81c9743ce0
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 2
      common/crypto/auth_test.go

2
common/crypto/auth_test.go

@ -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…
Cancel
Save