diff options
Diffstat (limited to 'hugolib/menu_test.go')
-rw-r--r-- | hugolib/menu_test.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/hugolib/menu_test.go b/hugolib/menu_test.go index df6ccf629..602775a4b 100644 --- a/hugolib/menu_test.go +++ b/hugolib/menu_test.go @@ -691,13 +691,7 @@ func testSiteSetup(s *Site, t *testing.T) { s.Menus = Menus{} s.initializeSiteInfo() - if err := s.createPages(); err != nil { - t.Fatalf("Unable to create pages: %s", err) - } - - if err := s.buildSiteMeta(); err != nil { - t.Fatalf("Unable to build site metadata: %s", err) - } + createPagesAndMeta(t, s) } func tomlToMap(s string) (map[string]interface{}, error) { |