aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/sitemap_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2016-04-07 20:03:03 +0200
committerBjørn Erik Pedersen <[email protected]>2016-04-08 17:55:23 +0200
commit1c3c148b38c1e66860d33fee0e2114ca4e004d05 (patch)
tree090ac534668e7d63418ee7374487ba5ccbd1ccc9 /hugolib/sitemap_test.go
parent16ad628114a9357a782b290f0cec69c24e473751 (diff)
downloadhugo-1c3c148b38c1e66860d33fee0e2114ca4e004d05.tar.gz
hugo-1c3c148b38c1e66860d33fee0e2114ca4e004d05.zip
hugolib: Un-export internal Site-methods
These are obviously internal and for the most part undocumented, creating lots of GoLint warnings. See #1160 See #2014
Diffstat (limited to 'hugolib/sitemap_test.go')
-rw-r--r--hugolib/sitemap_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/hugolib/sitemap_test.go b/hugolib/sitemap_test.go
index b157181ce..2ce842085 100644
--- a/hugolib/sitemap_test.go
+++ b/hugolib/sitemap_test.go
@@ -51,23 +51,23 @@ func TestSitemapOutput(t *testing.T) {
s.prepTemplates("sitemap.xml", SITEMAP_TEMPLATE)
- if err := s.CreatePages(); err != nil {
+ if err := s.createPages(); err != nil {
t.Fatalf("Unable to create pages: %s", err)
}
- if err := s.BuildSiteMeta(); err != nil {
+ if err := s.buildSiteMeta(); err != nil {
t.Fatalf("Unable to build site metadata: %s", err)
}
- if err := s.RenderHomePage(); err != nil {
+ if err := s.renderHomePage(); err != nil {
t.Fatalf("Unable to RenderHomePage: %s", err)
}
- if err := s.RenderSitemap(); err != nil {
+ if err := s.renderSitemap(); err != nil {
t.Fatalf("Unable to RenderSitemap: %s", err)
}
- if err := s.RenderRobotsTXT(); err != nil {
+ if err := s.renderRobotsTXT(); err != nil {
t.Fatalf("Unable to RenderRobotsTXT :%s", err)
}