hugolib: Fix Windows build failure, take 2
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 17 Feb 2017 17:28:14 +0000 (18:28 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 17 Feb 2017 17:28:14 +0000 (18:28 +0100)
hugolib/path_separators_windows_test.go

index f9dca7f0f907c8a1be5400a15f49b7156a1c23f0..d16168ca070593e14549e2c2e5c72f7cc9c18dad 100644 (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")
        }