From cf5be5cd75c6963cded115001f7ad565d9dcf236 Mon Sep 17 00:00:00 2001 From: Emmi Rehn Date: Wed, 2 Aug 2023 13:03:46 +0300 Subject: [PATCH] Fix lint --- streaming/streaming_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streaming/streaming_test.go b/streaming/streaming_test.go index 16ac29f..d84411f 100644 --- a/streaming/streaming_test.go +++ b/streaming/streaming_test.go @@ -597,7 +597,7 @@ func TestNewCrypt4GHWriterWithNonces(t *testing.T) { t.Error(err) } - if bytes.Compare(buffer.Bytes(), buffer2.Bytes()) != 0 { + if !bytes.Equal(buffer.Bytes(), buffer2.Bytes()) { t.Fail() } }