diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-26 18:57:21 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-26 21:54:36 +0100 |
commit | 5f65c17a12213cedbc8cf1348bbf0d98335e4cfb (patch) | |
tree | 76465bc8677ad3164202ef8564cb605544e334c6 /markup/goldmark | |
parent | 579ff9b6524ed4e55c191ab94251f5a2fe315f68 (diff) |
markup/goldmark: Adjust test for Windows
Diffstat (limited to 'markup/goldmark')
-rw-r--r-- | markup/goldmark/codeblocks/integration_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/markup/goldmark/codeblocks/integration_test.go b/markup/goldmark/codeblocks/integration_test.go index c33ea31e3..001deb9f8 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 |