mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 22:50:35 +03:00
hugolib: More test helper cleanup
This commit is contained in:
parent
ed847ed93d
commit
07ab7ae3d2
14 changed files with 171 additions and 162 deletions
|
@ -86,7 +86,7 @@ p
|
|||
s := buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{})
|
||||
th := testHelper{s.Cfg, s.Fs, t}
|
||||
|
||||
th.assertFileContent(filepath.Join("public", "p", "index.html"), true,
|
||||
th.assertFileContent(filepath.Join("public", "p", "index.html"),
|
||||
"Page Title: My Title",
|
||||
"My Content",
|
||||
"Hello World",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue