diff options
Diffstat (limited to 'hugolib/shortcode_test.go')
-rw-r--r-- | hugolib/shortcode_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go index 55bd58d01..1437ae0cf 100644 --- a/hugolib/shortcode_test.go +++ b/hugolib/shortcode_test.go @@ -687,7 +687,7 @@ NotFound: {{< thisDoesNotExist >}} require.Len(t, h.Sites, 1) s := h.Sites[0] - home, _ := s.getPage(nil, "/") + home := s.getPage(KindHome) require.NotNil(t, home) require.Len(t, home.outputFormats, 3) |