From: Bjørn Erik Pedersen Date: Wed, 1 Mar 2017 17:44:30 +0000 (+0100) Subject: hugolib: Fix broken test X-Git-Tag: v0.20~173 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=23f5b9ac;p=brevno-suite%2Fhugo hugolib: Fix broken test See #2977 --- diff --git a/hugolib/node_as_page_test.go b/hugolib/node_as_page_test.go index 3697f5d4..922a0e81 100644 --- a/hugolib/node_as_page_test.go +++ b/hugolib/node_as_page_test.go @@ -94,7 +94,7 @@ func doTestNodeAsPage(t *testing.T, ugly, preserveTaxonomyNames bool) { nodes := sites.findAllPagesByKindNotIn(KindPage) - require.Len(t, nodes, 7) + require.Len(t, nodes, 8) home := nodes[6] // oldest