update golangci-lint (#494)

This commit is contained in:
Alessandro Ros
2024-01-03 21:12:19 +01:00
committed by GitHub
parent bcd17a992c
commit 7d30b5f1b7
20 changed files with 48 additions and 32 deletions

View File

@@ -2,6 +2,7 @@ package rtph264
import (
"bytes"
"errors"
"testing"
"github.com/bluenviron/mediacommon/pkg/codecs/h264"
@@ -26,7 +27,7 @@ func TestDecode(t *testing.T) {
// test input integrity
require.Equal(t, clone, pkt)
if err == ErrMorePacketsNeeded {
if errors.Is(err, ErrMorePacketsNeeded) {
continue
}