summaryrefslogtreecommitdiffstats
path: root/hugolib/rss_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-21 09:35:15 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-04-08 13:26:17 +0200
commitd070bdf10f14d233288f7318a4e9f7555f070a65 (patch)
treefff8d59f98bdab3027bb45c4e10ca88594332872 /hugolib/rss_test.go
parentb08193971a821fc27e549a73120c15e5e5186775 (diff)
Rework the Destination filesystem to make --renderStaticToDisk work
See #9626
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 634843e3d..5da8ea0d6 100644
--- a/hugolib/rss_test.go
+++ b/hugolib/rss_test.go
@@ -50,7 +50,7 @@ func TestRSSOutput(t *testing.T) {
th.assertFileContent(filepath.Join("public", "categories", "hugo", rssURI), "<?xml", "rss version", "hugo on RSSTest")
// RSS Item Limit
- content := readDestination(t, fs, filepath.Join("public", rssURI))
+ content := readWorkingDir(t, fs, filepath.Join("public", rssURI))
c := strings.Count(content, "<item>")
if c != rssLimit {
t.Errorf("incorrect RSS item count: expected %d, got %d", rssLimit, c)