update golangci-lint (#3149)

This commit is contained in:
Alessandro Ros
2024-03-19 12:53:26 +01:00
committed by GitHub
parent 29f0ded9f1
commit c7dbb951f3
17 changed files with 31 additions and 30 deletions

View File

@@ -158,28 +158,28 @@ func TestChunkMarshal(t *testing.T) {
}
func FuzzChunk0Read(f *testing.F) {
f.Fuzz(func(t *testing.T, b []byte) {
f.Fuzz(func(_ *testing.T, b []byte) {
var chunk Chunk0
chunk.Read(bytes.NewReader(b), 65536, false) //nolint:errcheck
})
}
func FuzzChunk1Read(f *testing.F) {
f.Fuzz(func(t *testing.T, b []byte) {
f.Fuzz(func(_ *testing.T, b []byte) {
var chunk Chunk1
chunk.Read(bytes.NewReader(b), 65536, false) //nolint:errcheck
})
}
func FuzzChunk2Read(f *testing.F) {
f.Fuzz(func(t *testing.T, b []byte) {
f.Fuzz(func(_ *testing.T, b []byte) {
var chunk Chunk2
chunk.Read(bytes.NewReader(b), 65536, false) //nolint:errcheck
})
}
func FuzzChunk3Read(f *testing.F) {
f.Fuzz(func(t *testing.T, b []byte) {
f.Fuzz(func(_ *testing.T, b []byte) {
var chunk Chunk3
chunk.Read(bytes.NewReader(b), 65536, true) //nolint:errcheck
})