mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Rework the Destination filesystem to make --renderStaticToDisk work
See #9626
This commit is contained in:
@@ -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>")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user