Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
emm1R committed Aug 2, 2023
1 parent a40a933 commit cf5be5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streaming/streaming_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}

0 comments on commit cf5be5c

Please sign in to comment.