mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 00:42:08 -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
|
package codeblocks_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
@ -173,7 +174,7 @@ Position: {{ .Position | safeHTML }}
|
||||||
},
|
},
|
||||||
).Build()
|
).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
|
// Issue 9571
|
||||||
|
|
Loading…
Reference in a new issue