diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-02-17 21:14:52 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-02-18 07:53:25 +0100 |
commit | 07ab7ae3d2e64dafb8f6dab937986d8e366d1fe5 (patch) | |
tree | e208621d1a05c6d1d288445ccaa051bf33fbc92b /hugolib/rss_test.go | |
parent | ed847ed93d86d0e1c0993adfee787e7fa02e604b (diff) |
hugolib: More test helper cleanup
Diffstat (limited to 'hugolib/rss_test.go')
-rw-r--r-- | hugolib/rss_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/rss_test.go b/hugolib/rss_test.go index 54ca1c06c..cb98f8eb4 100644 --- a/hugolib/rss_test.go +++ b/hugolib/rss_test.go @@ -44,11 +44,11 @@ func TestRSSOutput(t *testing.T) { buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{}) // Home RSS - th.assertFileContent(filepath.Join("public", rssURI), true, "<?xml", "rss version", "RSSTest") + th.assertFileContent(filepath.Join("public", rssURI), "<?xml", "rss version", "RSSTest") // Section RSS - th.assertFileContent(filepath.Join("public", "sect", rssURI), true, "<?xml", "rss version", "Sects on RSSTest") + th.assertFileContent(filepath.Join("public", "sect", rssURI), "<?xml", "rss version", "Sects on RSSTest") // Taxonomy RSS - th.assertFileContent(filepath.Join("public", "categories", "hugo", rssURI), true, "<?xml", "rss version", "Hugo on RSSTest") + 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)) |