mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
hugolib: Fix Windows build failure, take 2
This commit is contained in:
@@ -26,7 +26,7 @@ const (
|
||||
|
||||
func TestTemplatePathSeparator(t *testing.T) {
|
||||
t.Parallel()
|
||||
tmpl := new(tpl.GoHTMLTemplate)
|
||||
tmpl := new(tplimpl.GoHTMLTemplate)
|
||||
if name := tplimpl.GenerateTemplateNameFrom(win_base, win_path); name != "sub1/index.html" {
|
||||
t.Fatalf("Template name incorrect. got %s but expected %s", name, "sub1/index.html")
|
||||
}
|
||||
|
Reference in New Issue
Block a user