mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
markup/goldmark: Adjust test for Windows
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user