summaryrefslogtreecommitdiffstats
path: root/hugolib/breaking_changes_test.go
diff options
context:
space:
mode:
authorPhil Davis <phil@jankaritech.com>2020-12-16 16:56:32 +0545
committerGitHub <noreply@github.com>2020-12-16 12:11:32 +0100
commit04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch)
tree585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /hugolib/breaking_changes_test.go
parent21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff)
all: Fix minor typos
Diffstat (limited to 'hugolib/breaking_changes_test.go')
-rw-r--r--hugolib/breaking_changes_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/hugolib/breaking_changes_test.go b/hugolib/breaking_changes_test.go
index a22bc240f..495baff3e 100644
--- a/hugolib/breaking_changes_test.go
+++ b/hugolib/breaking_changes_test.go
@@ -21,7 +21,7 @@ import (
)
func Test073(t *testing.T) {
- asertDisabledTaxonomyAndTerm := func(b *sitesBuilder, taxonomy, term bool) {
+ assertDisabledTaxonomyAndTerm := 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)
}
@@ -88,7 +88,7 @@ taxonomy = ["JSON"]
`disableKinds = ["taxonomy", "taxonomyTerm"]`,
func(err error, out string, b *sitesBuilder) {
b.Assert(err, qt.IsNil)
- asertDisabledTaxonomyAndTerm(b, false, false)
+ assertDisabledTaxonomyAndTerm(b, false, false)
},
},
{
@@ -96,7 +96,7 @@ taxonomy = ["JSON"]
`disableKinds = ["taxonomyTerm"]`,
func(err error, out string, b *sitesBuilder) {
b.Assert(err, qt.IsNil)
- asertDisabledTaxonomyAndTerm(b, false, true)
+ assertDisabledTaxonomyAndTerm(b, false, true)
},
},
{
@@ -113,7 +113,7 @@ taxonomy = ["JSON"]
ignoreErrors = ["error-disable-taxonomy"]`,
func(err error, out string, b *sitesBuilder) {
b.Assert(err, qt.IsNil)
- asertDisabledTaxonomyAndTerm(b, false, true)
+ assertDisabledTaxonomyAndTerm(b, false, true)
},
},
} {