From 6e9bd0d784ebce172e018c06a87c4191560f95cf Mon Sep 17 00:00:00 2001 From: ffranr Date: Tue, 24 Jan 2023 16:18:35 +0000 Subject: [PATCH] lint: gocritic: silence append func warning --- hashmail_server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hashmail_server_test.go b/hashmail_server_test.go index c9db570..f75d7b7 100644 --- a/hashmail_server_test.go +++ b/hashmail_server_test.go @@ -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,