hugolib: Simplify some code

This commit is contained in:
Cameron Moore
2018-08-28 15:51:44 -05:00
committed by Bjørn Erik Pedersen
parent 0665a3951b
commit e38e881248
4 changed files with 15 additions and 21 deletions

View File

@@ -580,10 +580,8 @@ func testAllMarkdownEnginesForPages(t *testing.T,
cfg, fs := newTestCfg()
if settings != nil {
for k, v := range settings {
cfg.Set(k, v)
}
for k, v := range settings {
cfg.Set(k, v)
}
contentDir := "content"