mirror of
https://github.com/bluenviron/mediamtx.git
synced 2026-01-10 04:11:59 -08:00
update golangci-lint (#3149)
This commit is contained in:
parent
29f0ded9f1
commit
c7dbb951f3
17 changed files with 31 additions and 30 deletions
|
|
@ -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
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue