From: Bjørn Erik Pedersen Date: Sat, 26 Feb 2022 17:57:21 +0000 (+0100) Subject: markup/goldmark: Adjust test for Windows X-Git-Tag: v0.93.0~12 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5f65c17a12213cedbc8cf1348bbf0d98335e4cfb;p=brevno-suite%2Fhugo markup/goldmark: Adjust test for Windows --- diff --git a/markup/goldmark/codeblocks/integration_test.go b/markup/goldmark/codeblocks/integration_test.go index c33ea31e..001deb9f 100644 --- a/markup/goldmark/codeblocks/integration_test.go +++ b/markup/goldmark/codeblocks/integration_test.go @@ -14,6 +14,7 @@ package codeblocks_test import ( + "path/filepath" "strings" "testing" @@ -173,7 +174,7 @@ Position: {{ .Position | safeHTML }} }, ).Build() - b.AssertFileContent("public/p1/index.html", "Position: \"content/p1.md:7:1\"") + b.AssertFileContent("public/p1/index.html", filepath.FromSlash("Position: \"content/p1.md:7:1\"")) } // Issue 9571