From: Bjørn Erik Pedersen Date: Tue, 21 Jan 2025 18:24:51 +0000 (+0100) Subject: Improve assert X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9885e7020d75bb69f5ce67a766571bd0c4b119f5;p=brevno-suite%2Fhugo Improve assert --- diff --git a/markup/goldmark/goldmark_integration_test.go b/markup/goldmark/goldmark_integration_test.go index faccf15ac..67348d894 100644 --- a/markup/goldmark/goldmark_integration_test.go +++ b/markup/goldmark/goldmark_integration_test.go @@ -918,7 +918,7 @@ hidden "! ", "! 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",