mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
hugolib: Fix Windows build failure, take 2
This commit is contained in:
parent
9421690281
commit
0946630715
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue