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