mirror of
https://github.com/aler9/gortsplib
synced 2025-11-01 11:02:41 +08:00
update golangci-lint (#494)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package rtpmpeg4audio
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"testing"
|
||||
|
||||
"github.com/pion/rtp"
|
||||
@@ -26,7 +27,7 @@ func TestDecodeLATM(t *testing.T) {
|
||||
// test input integrity
|
||||
require.Equal(t, clone, pkt)
|
||||
|
||||
if err == ErrMorePacketsNeeded {
|
||||
if errors.Is(err, ErrMorePacketsNeeded) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user