summaryrefslogtreecommitdiffstats
path: root/hugolib/hugo_sites_rebuild_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/hugo_sites_rebuild_test.go
parent32471b57bde51c55a15dbf1db75d6e5f7232c347 (diff)
all: Format code with gofumpt
See https://github.com/mvdan/gofumpt
Diffstat (limited to 'hugolib/hugo_sites_rebuild_test.go')
-rw-r--r--hugolib/hugo_sites_rebuild_test.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/hugolib/hugo_sites_rebuild_test.go b/hugolib/hugo_sites_rebuild_test.go
index 4c4741385..d312d2199 100644
--- a/hugolib/hugo_sites_rebuild_test.go
+++ b/hugolib/hugo_sites_rebuild_test.go
@@ -20,7 +20,6 @@ import (
)
func TestSitesRebuild(t *testing.T) {
-
configFile := `
baseURL = "https://example.com"
title = "Rebuild this"
@@ -142,7 +141,6 @@ Data Inline: Rocks!
b.AssertFileContent("public/index.html", `
Data: Rules!
Data Inline: Rules!`)
-
})
// https://github.com/gohugoio/hugo/issues/6968
@@ -165,7 +163,6 @@ Data Inline: Rules!`)
b.Build(BuildCfg{testCounters: counters})
b.Assert(int(counters.contentRenderCounter), qt.Equals, 0)
-
})
t.Run("Page.Render, edit baseof", func(t *testing.T) {
@@ -190,7 +187,6 @@ prender: {{ $p.Title }}|{{ $p.Content }}
b.AssertFileContent("public/index.html", `
Render /prender/: Baseof Edited:Single Main: Page 1|Mypartial1: Mypartial1:END
`)
-
})
t.Run("Page.Render, edit partial in baseof", func(t *testing.T) {
@@ -215,7 +211,6 @@ prender: {{ $p.Title }}|{{ $p.Content }}
b.AssertFileContent("public/index.html", `
Render /prender/: Baseof:Single Main: Page 1|Mypartial1: Mypartial1|Mypartial3: Mypartial3 Edited:END
`)
-
})
t.Run("Edit RSS shortcode", func(t *testing.T) {
@@ -255,9 +250,7 @@ Output Shortcode AMP
b.AssertFileContent("public/amp/output/index.html", `
Output Shortcode AMP Edited
`)
-
})
-
}
// Issues #7623 #7625
@@ -320,5 +313,4 @@ P6 content
P5 changed content
P6 changed content
`)
-
}