diff options
Diffstat (limited to 'hugolib/page_test.go')
-rw-r--r-- | hugolib/page_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/page_test.go b/hugolib/page_test.go index 04ca696c8..637ac46f7 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -1074,14 +1074,14 @@ func TestPageWithLastmodFromGitInfo(t *testing.T) { // 2018-03-11 is the Git author date for testsite/content/first-post.md c.Assert(enSite.RegularPages()[0].Lastmod().Format("2006-01-02"), qt.Equals, "2018-03-11") - c.Assert(enSite.RegularPages()[0].Codeowners()[0], qt.Equals, "@bep") + c.Assert(enSite.RegularPages()[0].CodeOwners()[0], qt.Equals, "@bep") nnSite := h.Sites[1] c.Assert(len(nnSite.RegularPages()), qt.Equals, 1) // 2018-08-11 is the Git author date for testsite/content_nn/first-post.md c.Assert(nnSite.RegularPages()[0].Lastmod().Format("2006-01-02"), qt.Equals, "2018-08-11") - c.Assert(enSite.RegularPages()[0].Codeowners()[0], qt.Equals, "@bep") + c.Assert(enSite.RegularPages()[0].CodeOwners()[0], qt.Equals, "@bep") } func TestPageWithFrontMatterConfig(t *testing.T) { |