diff options
Diffstat (limited to 'hugolib/collections_test.go')
-rw-r--r-- | hugolib/collections_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/collections_test.go b/hugolib/collections_test.go index 6925d41cd..fff57337f 100644 --- a/hugolib/collections_test.go +++ b/hugolib/collections_test.go @@ -82,8 +82,8 @@ tags_weight: %d c.Assert(len(b.H.Sites[0].RegularPages()), qt.Equals, 2) b.AssertFileContent("public/index.html", - "pages:2:page.Pages:Page(/page1.md)/Page(/page2.md)", - "pageGroups:2:page.PagesGroup:Page(/page1.md)/Page(/page2.md)", + "pages:2:page.Pages:Page(/page1)/Page(/page2)", + "pageGroups:2:page.PagesGroup:Page(/page1)/Page(/page2)", `weightedPages:2::page.WeightedPages:[WeightedPage(10,"Page") WeightedPage(20,"Page")]`) } @@ -207,7 +207,7 @@ tags_weight: %d c.Assert(len(b.H.Sites[0].RegularPages()), qt.Equals, 2) b.AssertFileContent("public/index.html", - "pages:2:page.Pages:Page(/page2.md)/Page(/page1.md)", + "pages:2:page.Pages:Page(/page2)/Page(/page1)", "appendPages:9:page.Pages:home/page", "appendStrings:[]string:[a b c d e]", "appendStringsSlice:[]string:[a b c c d]", |