hugolib: Fix Windows build failure, take 2

This commit is contained in:
Bjørn Erik Pedersen 2017-02-17 18:28:14 +01:00
parent 9421690281
commit 0946630715

View file

@ -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")
}