hugolib: More test helper cleanup

This commit is contained in:
Bjørn Erik Pedersen
2017-02-17 21:14:52 +01:00
parent ed847ed93d
commit 07ab7ae3d2
14 changed files with 171 additions and 162 deletions

View File

@@ -58,7 +58,7 @@ func doTestSitemapOutput(t *testing.T, internal bool) {
s := buildSingleSite(t, depsCfg, BuildCfg{})
th := testHelper{s.Cfg, s.Fs, t}
th.assertFileContent("public/sitemap.xml", true,
th.assertFileContent("public/sitemap.xml",
// Regular page
" <loc>http://auth/bub/sect/doc1/</loc>",
// Home page