diff options
author | Oleksandr Redko <Oleksandr_Redko@epam.com> | 2023-05-22 20:11:12 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-06-19 09:26:29 +0200 |
commit | 9009c8cdca448e50704f7ecd1a3918c5919b0f37 (patch) | |
tree | 960aaa2b80a07c959360ad66fc79ebe7c0fa9632 /hugolib/pagecollections_test.go | |
parent | 12dc9a6e4acd5280a3e8b1658cbb96669fa97057 (diff) |
all: Fix typos in function names and comments
Diffstat (limited to 'hugolib/pagecollections_test.go')
-rw-r--r-- | hugolib/pagecollections_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/pagecollections_test.go b/hugolib/pagecollections_test.go index abdfb9619..66f157781 100644 --- a/hugolib/pagecollections_test.go +++ b/hugolib/pagecollections_test.go @@ -235,7 +235,7 @@ func TestGetPage(t *testing.T) { {"Root relative, no slash, root page", page.KindPage, nil, []string{"about.md", "ABOUT.md"}, "about page"}, {"Root relative, no slash, section", page.KindSection, nil, []string{"sect3"}, "section 3"}, {"Root relative, no slash, section page", page.KindPage, nil, []string{"sect3/page1.md"}, "Title3_1"}, - {"Root relative, no slash, sub setion", page.KindSection, nil, []string{"sect3/sect7"}, "another sect7"}, + {"Root relative, no slash, sub section", page.KindSection, nil, []string{"sect3/sect7"}, "another sect7"}, {"Root relative, no slash, nested page", page.KindPage, nil, []string{"sect3/subsect/deep.md"}, "deep page"}, {"Root relative, no slash, OS slashes", page.KindPage, nil, []string{filepath.FromSlash("sect5/page3.md")}, "Title5_3"}, @@ -247,7 +247,7 @@ func TestGetPage(t *testing.T) { // content root relative paths without a leading slash, the lookup // returns /sect7. This undermines ambiguity detection, but we have no choice. //{"Ambiguous", nil, []string{"sect7"}, ""}, - {"Section, ambigous", page.KindSection, nil, []string{"sect7"}, "Sect7s"}, + {"Section, ambiguous", page.KindSection, nil, []string{"sect7"}, "Sect7s"}, {"Absolute, home", page.KindHome, nil, []string{"/", ""}, "home page"}, {"Absolute, page", page.KindPage, nil, []string{"/about.md", "/about"}, "about page"}, |