summaryrefslogtreecommitdiffstats
path: root/markup
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-02-26 18:57:21 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-02-26 21:54:36 +0100
commit5f65c17a12213cedbc8cf1348bbf0d98335e4cfb (patch)
tree76465bc8677ad3164202ef8564cb605544e334c6 /markup
parent579ff9b6524ed4e55c191ab94251f5a2fe315f68 (diff)
markup/goldmark: Adjust test for Windows
Diffstat (limited to 'markup')
-rw-r--r--markup/goldmark/codeblocks/integration_test.go3
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