mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
Rework the Destination filesystem to make --renderStaticToDisk work
See #9626
This commit is contained in:
parent
b08193971a
commit
d070bdf10f
75 changed files with 651 additions and 566 deletions
|
@ -80,7 +80,7 @@ func doTestSitemapOutput(t *testing.T, internal bool) {
|
|||
"<loc>http://auth/bub/categories/hugo/</loc>",
|
||||
)
|
||||
|
||||
content := readDestination(th, th.Fs, outputSitemap)
|
||||
content := readWorkingDir(th, th.Fs, outputSitemap)
|
||||
c.Assert(content, qt.Not(qt.Contains), "404")
|
||||
c.Assert(content, qt.Not(qt.Contains), "<loc></loc>")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue