Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 268b13073..9b5130507 100644
--- a/hugolib/rss_test.go
+++ b/hugolib/rss_test.go
@@ -38,7 +38,7 @@ func TestRSSOutput(t *testing.T) {
cfg.Set("rssLimit", rssLimit)
for _, src := range weightedSources {
- writeSource(t, fs, filepath.Join("content", "sect", src.Name), string(src.Content))
+ writeSource(t, fs, filepath.Join("content", "sect", src[0]), src[1])
}
buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{})