aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/rss_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-01-03 17:28:51 +0100
committerBjørn Erik Pedersen <[email protected]>2017-01-07 17:06:35 +0100
commit45e3ed517a17648d54e8ce33618a8f251cfec603 (patch)
tree160a1bbd03a107be08ae76018fb382268365e2a1 /hugolib/rss_test.go
parent24a286791f37cbf6638b37f29386949045d0bba2 (diff)
downloadhugo-45e3ed517a17648d54e8ce33618a8f251cfec603.tar.gz
hugo-45e3ed517a17648d54e8ce33618a8f251cfec603.zip
all: Refactor to non-global logger
Note that this looks like overkill for just the logger, and that is correct, but this will make sense once we start with the template handling etc. Updates #2701
Diffstat (limited to 'hugolib/rss_test.go')
-rw-r--r--hugolib/rss_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/rss_test.go b/hugolib/rss_test.go
index 966b00af0..72a180fe0 100644
--- a/hugolib/rss_test.go
+++ b/hugolib/rss_test.go
@@ -32,7 +32,7 @@ func TestRSSOutput(t *testing.T) {
writeSource(t, filepath.Join("content", "sect", s.Name), string(s.Content))
}
- if err := buildAndRenderSite(newSiteDefaultLang()); err != nil {
+ if err := buildAndRenderSite(NewSiteDefaultLang()); err != nil {
t.Fatalf("Failed to build site: %s", err)
}