From 9885e7020d75bb69f5ce67a766571bd0c4b119f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 21 Jan 2025 19:24:51 +0100 Subject: [PATCH] Improve assert --- markup/goldmark/goldmark_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",