mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
Correct typo in hugolib/path_separators_windows_test.go
This commit is contained in:
@@ -10,7 +10,7 @@ const (
|
|||||||
win_path = "c:\\a\\windows\\path\\layout\\sub1\\index.html"
|
win_path = "c:\\a\\windows\\path\\layout\\sub1\\index.html"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTemplatePathSeperator(t *testing.T) {
|
func TestTemplatePathSeparator(t *testing.T) {
|
||||||
tmpl := new(tpl.GoHtmlTemplate)
|
tmpl := new(tpl.GoHtmlTemplate)
|
||||||
if name := tmpl.GenerateTemplateNameFrom(win_base, win_path); name != "sub1/index.html" {
|
if name := tmpl.GenerateTemplateNameFrom(win_base, win_path); name != "sub1/index.html" {
|
||||||
t.Fatalf("Template name incorrect. Expected: %s, Got: %s", "sub1/index.html", name)
|
t.Fatalf("Template name incorrect. Expected: %s, Got: %s", "sub1/index.html", name)
|
||||||
|
Reference in New Issue
Block a user