From e316012b4d8512bf8627dedd6f51dcb996f8128e Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Fri, 6 Dec 2019 12:37:45 +0100 Subject: [PATCH] Fix gofmt --- .golangci.yml | 1 - viper_test.go | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) 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, }, },