mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
Improve assert
This commit is contained in:
@@ -918,7 +918,7 @@ hidden
|
|||||||
"! <!-- This is a comment -->",
|
"! <!-- This is a comment -->",
|
||||||
"! script",
|
"! script",
|
||||||
)
|
)
|
||||||
b.AssertLogContains("! Raw HTML omitted")
|
b.AssertLogContains("! WARN")
|
||||||
|
|
||||||
b = hugolib.Test(t, strings.ReplaceAll(files, "markup.goldmark.renderer.unsafe = false", "markup.goldmark.renderer.unsafe = true"), hugolib.TestOptWarn())
|
b = hugolib.Test(t, strings.ReplaceAll(files, "markup.goldmark.renderer.unsafe = false", "markup.goldmark.renderer.unsafe = true"), hugolib.TestOptWarn())
|
||||||
b.AssertFileContent("public/p1/index.html",
|
b.AssertFileContent("public/p1/index.html",
|
||||||
|
Reference in New Issue
Block a user