markup/goldmark: Adjust test for Windows

This commit is contained in:
Bjørn Erik Pedersen 2022-02-26 18:57:21 +01:00
parent 579ff9b652
commit 5f65c17a12

View file

@ -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