diff options
author | Bjørn Erik Pedersen <[email protected]> | 2016-04-07 20:03:03 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2016-04-08 17:55:23 +0200 |
commit | 1c3c148b38c1e66860d33fee0e2114ca4e004d05 (patch) | |
tree | 090ac534668e7d63418ee7374487ba5ccbd1ccc9 /hugolib/robotstxt_test.go | |
parent | 16ad628114a9357a782b290f0cec69c24e473751 (diff) | |
download | hugo-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/robotstxt_test.go')
-rw-r--r-- | hugolib/robotstxt_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hugolib/robotstxt_test.go b/hugolib/robotstxt_test.go index 93605449c..776ff3aca 100644 --- a/hugolib/robotstxt_test.go +++ b/hugolib/robotstxt_test.go @@ -46,23 +46,23 @@ func TestRobotsTXTOutput(t *testing.T) { s.prepTemplates("robots.txt", robotTxtTemplate) - 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) } |