diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-02-17 20:52:50 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-02-17 20:52:50 +0100 |
commit | ed847ed93d86d0e1c0993adfee787e7fa02e604b (patch) | |
tree | fc85030e7109f3c1f8192bb417cba221f74342fe /hugolib/sitemap_test.go | |
parent | 10c13f5d79e467796088cd305c8c3cb0fa7c0ee0 (diff) | |
download | hugo-ed847ed93d86d0e1c0993adfee787e7fa02e604b.tar.gz hugo-ed847ed93d86d0e1c0993adfee787e7fa02e604b.zip |
hugolib: Test helper cleanup
Diffstat (limited to 'hugolib/sitemap_test.go')
-rw-r--r-- | hugolib/sitemap_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/sitemap_test.go b/hugolib/sitemap_test.go index daefde524..82890f053 100644 --- a/hugolib/sitemap_test.go +++ b/hugolib/sitemap_test.go @@ -56,9 +56,9 @@ func doTestSitemapOutput(t *testing.T, internal bool) { writeSourcesToSource(t, "content", fs, weightedSources...) s := buildSingleSite(t, depsCfg, BuildCfg{}) - th := testHelper{s.Cfg} + th := testHelper{s.Cfg, s.Fs, t} - th.assertFileContent(t, s.Fs, "public/sitemap.xml", true, + th.assertFileContent("public/sitemap.xml", true, // Regular page " <loc>http://auth/bub/sect/doc1/</loc>", // Home page |