diff --git a/.golangci.yml b/.golangci.yml index bd0ded4..f0adecd 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -11,7 +11,6 @@ linters: - maligned # TODO: fix me - - gofmt - goimports - whitespace - deadcode diff --git a/viper_test.go b/viper_test.go index f8349ac..94a8e75 100644 --- a/viper_test.go +++ b/viper_test.go @@ -1049,18 +1049,18 @@ func TestFindsNestedKeys(t *testing.T) { "owner.dob": dob, "beard": true, "foos": []map[string]interface{}{ - map[string]interface{}{ + { "foo": []map[string]interface{}{ - map[string]interface{}{ + { "key": 1, }, - map[string]interface{}{ + { "key": 2, }, - map[string]interface{}{ + { "key": 3, }, - map[string]interface{}{ + { "key": 4, }, },