Skip to content

Commit

Permalink
Improve assert
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jan 22, 2025
1 parent 91101d2 commit 9885e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markup/goldmark/goldmark_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9885e70

Please sign in to comment.