summaryrefslogtreecommitdiffhomepage
path: root/hugolib/breaking_changes_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/breaking_changes_test.go')
-rw-r--r--hugolib/breaking_changes_test.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/hugolib/breaking_changes_test.go b/hugolib/breaking_changes_test.go
index c935d6e93..a22bc240f 100644
--- a/hugolib/breaking_changes_test.go
+++ b/hugolib/breaking_changes_test.go
@@ -21,11 +21,9 @@ import (
)
func Test073(t *testing.T) {
-
asertDisabledTaxonomyAndTerm := func(b *sitesBuilder, taxonomy, term bool) {
b.Assert(b.CheckExists("public/tags/index.html"), qt.Equals, taxonomy)
b.Assert(b.CheckExists("public/tags/tag1/index.html"), qt.Equals, term)
-
}
assertOutputTaxonomyAndTerm := func(b *sitesBuilder, taxonomy, term bool) {
@@ -48,7 +46,6 @@ func Test073(t *testing.T) {
func(err error, out string, b *sitesBuilder) {
b.Assert(err, qt.IsNil)
assertOutputTaxonomyAndTerm(b, true, true)
-
},
},
{
@@ -60,7 +57,6 @@ taxonomyTerm = ["JSON"]
func(err error, out string, b *sitesBuilder) {
b.Assert(err, qt.IsNil)
assertOutputTaxonomyAndTerm(b, true, false)
-
},
},
{
@@ -72,7 +68,6 @@ taxonomy = ["JSON"]
func(err error, out string, b *sitesBuilder) {
b.Assert(err, qt.Not(qt.IsNil))
b.Assert(out, qt.Contains, `ignoreErrors = ["error-output-taxonomy"]`)
-
},
},
{
@@ -86,7 +81,6 @@ taxonomy = ["JSON"]
func(err error, out string, b *sitesBuilder) {
b.Assert(err, qt.IsNil)
assertOutputTaxonomyAndTerm(b, true, false)
-
},
},
{
@@ -95,7 +89,6 @@ taxonomy = ["JSON"]
func(err error, out string, b *sitesBuilder) {
b.Assert(err, qt.IsNil)
asertDisabledTaxonomyAndTerm(b, false, false)
-
},
},
{
@@ -104,7 +97,6 @@ taxonomy = ["JSON"]
func(err error, out string, b *sitesBuilder) {
b.Assert(err, qt.IsNil)
asertDisabledTaxonomyAndTerm(b, false, true)
-
},
},
{
@@ -125,7 +117,6 @@ taxonomy = ["JSON"]
},
},
} {
-
t.Run(this.name, func(t *testing.T) {
b := newTestSitesBuilder(t).WithConfigFile("toml", this.config)
b.WithTemplatesAdded("_default/list.json", "JSON")
@@ -135,7 +126,5 @@ taxonomy = ["JSON"]
fmt.Println(out)
this.assert(err, out, b)
})
-
}
-
}