summaryrefslogtreecommitdiffstats
path: root/hugolib/config_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-02 13:23:25 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-03 13:12:58 +0100
commitd90e37e0c6e812f9913bf256c9c81aa05b7a08aa (patch)
tree7b1b14464eefec1188ca2eed53c64e4823453cc9 /hugolib/config_test.go
parent32471b57bde51c55a15dbf1db75d6e5f7232c347 (diff)
all: Format code with gofumpt
See https://github.com/mvdan/gofumpt
Diffstat (limited to 'hugolib/config_test.go')
-rw-r--r--hugolib/config_test.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/hugolib/config_test.go b/hugolib/config_test.go
index e8dce331d..aeeee5fa5 100644
--- a/hugolib/config_test.go
+++ b/hugolib/config_test.go
@@ -43,7 +43,6 @@ func TestLoadConfig(t *testing.T) {
c.Assert(err, qt.IsNil)
c.Assert(cfg.GetString("paginatePath"), qt.Equals, "side")
-
}
func TestLoadMultiConfig(t *testing.T) {
@@ -359,7 +358,6 @@ map[string]interface {}{
},
},
}`, got["menu"])
-
}
func TestPrivacyConfig(t *testing.T) {
@@ -381,7 +379,6 @@ privacyEnhanced = true
b.Build(BuildCfg{SkipRender: true})
c.Assert(b.H.Sites[0].Info.Config().Privacy.YouTube.PrivacyEnhanced, qt.Equals, true)
-
}
func TestLoadConfigModules(t *testing.T) {
@@ -477,11 +474,9 @@ project n4
`
c.Assert(graphb.String(), qt.Equals, expected)
-
}
func TestLoadConfigWithOsEnvOverrides(t *testing.T) {
-
c := qt.New(t)
baseConfig := `
@@ -534,5 +529,4 @@ quality = 75
c.Assert(cfg.Get("intSlice"), qt.DeepEquals, []interface{}{5, 8, 9})
c.Assert(cfg.Get("params.api_config.api_key"), qt.Equals, "new_key")
c.Assert(cfg.Get("params.api_config.another_key"), qt.Equals, "default another_key")
-
}