mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
update golangci-lint configuration (#5182)
This commit is contained in:
parent
ac1d4360b2
commit
ff187b6d8a
80 changed files with 294 additions and 309 deletions
|
|
@ -22,7 +22,7 @@ func TestFromStreamNoSupportedCodecs(t *testing.T) {
|
|||
}}}
|
||||
|
||||
r := &stream.Reader{
|
||||
Parent: test.Logger(func(logger.Level, string, ...interface{}) {
|
||||
Parent: test.Logger(func(logger.Level, string, ...any) {
|
||||
t.Error("should not happen")
|
||||
}),
|
||||
}
|
||||
|
|
@ -46,7 +46,7 @@ func TestFromStreamSkipUnsupportedTracks(t *testing.T) {
|
|||
n := 0
|
||||
|
||||
r := &stream.Reader{
|
||||
Parent: test.Logger(func(l logger.Level, format string, args ...interface{}) {
|
||||
Parent: test.Logger(func(l logger.Level, format string, args ...any) {
|
||||
require.Equal(t, logger.Warn, l)
|
||||
if n == 0 {
|
||||
require.Equal(t, "skipping track 2 (M-JPEG)", fmt.Sprintf(format, args...))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue