lint: gocritic: silence append func warning

This commit is contained in:
ffranr
2023-01-24 16:18:35 +00:00
parent daf5aa00e3
commit 6e9bd0d784

View File

@@ -86,7 +86,7 @@ func TestHashMailServerReturnStream(t *testing.T) {
// Send then receive yet another message to make sure the stream is
// still operational.
testMessage2 := append(testMessage, []byte("test")...)
testMessage2 := append(testMessage, []byte("test")...) //nolint:gocritic
err = writeStream.Send(&hashmailrpc.CipherBox{
Desc: testStreamDesc,
Msg: testMessage2,