Improve assert - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 9885e7020d75bb69f5ce67a766571bd0c4b119f5
(DIR) parent 91101d24f23255a45f0bb0e5eb8aeeba819e20a4
(HTM) Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Tue, 21 Jan 2025 19:24:51 +0100
Improve assert
Diffstat:
M markup/goldmark/goldmark_integrati… | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/markup/goldmark/goldmark_integration_test.go b/markup/goldmark/goldmark_integration_test.go
@@ -918,7 +918,7 @@ hidden
"! <!-- This is a comment -->",
"! 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.AssertFileContent("public/p1/index.html",