aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/rss_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/rss_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/rss_test.go')
-rw-r--r--hugolib/rss_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/rss_test.go b/hugolib/rss_test.go
index c8eb05159..5eca01143 100644
--- a/hugolib/rss_test.go
+++ b/hugolib/rss_test.go
@@ -59,15 +59,15 @@ func TestRSSOutput(t *testing.T) {
s.initializeSiteInfo()
s.prepTemplates("rss.xml", rssTemplate)
- 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)
}