diff options
Diffstat (limited to 'hugolib/sitemap_test.go')
-rw-r--r-- | hugolib/sitemap_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hugolib/sitemap_test.go b/hugolib/sitemap_test.go index bb3eaccd2..34f2d3477 100644 --- a/hugolib/sitemap_test.go +++ b/hugolib/sitemap_test.go @@ -50,8 +50,7 @@ func TestSitemapOutput(t *testing.T) { s.initializeSiteInfo() - s.prepTemplates() - s.addTemplate("sitemap.xml", SITEMAP_TEMPLATE) + s.prepTemplates("sitemap.xml", SITEMAP_TEMPLATE) if err := s.CreatePages(); err != nil { t.Fatalf("Unable to create pages: %s", err) |