hugolib: Fix broken test
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 1 Mar 2017 17:44:30 +0000 (18:44 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 1 Mar 2017 17:44:30 +0000 (18:44 +0100)
See #2977

hugolib/node_as_page_test.go

index 3697f5d46d3fda923f7503c905748527bde7b95a..922a0e81ec89676a60d9792a7fa5fbba7108177d 100644 (file)
@@ -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