mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
markup/goldmark: Adjust test for Windows
This commit is contained in:
parent
579ff9b652
commit
5f65c17a12
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue