diff --git a/fs/config_test.go b/fs/config_test.go index 9813dc218..f9157bbf6 100644 --- a/fs/config_test.go +++ b/fs/config_test.go @@ -11,7 +11,7 @@ func TestGetConfig(t *testing.T) { ctx := context.Background() // Check nil - config := GetConfig(nil) + config := GetConfig(nil) //lint:ignore SA1012 we want to test passing a nil Context and therefore ignore lint suggestion of using context.TODO assert.Equal(t, globalConfig, config) // Check empty config diff --git a/fs/filter/filter_test.go b/fs/filter/filter_test.go index 27da120c4..aada638fc 100644 --- a/fs/filter/filter_test.go +++ b/fs/filter/filter_test.go @@ -798,7 +798,7 @@ func TestGetConfig(t *testing.T) { ctx := context.Background() // Check nil - config := GetConfig(nil) + config := GetConfig(nil) //lint:ignore SA1012 we want to test passing a nil Context and therefore ignore lint suggestion of using context.TODO assert.Equal(t, globalConfig, config) // Check empty config