hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 9421690281b061f6e8256a818693df0f18fed1c1
parent d3abb93cc7a2a61557560543919f2e4c0a1cbd7a
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri, 17 Feb 2017 18:22:07 +0100

hugolib: Fix Windows build failure

Diffstat:
Mhugolib/path_separators_windows_test.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hugolib/path_separators_windows_test.go b/hugolib/path_separators_windows_test.go
@@ -16,7 +16,7 @@ package hugolib
 import (
 	"testing"
 
-	"github.com/spf13/hugo/tpl"
+	"github.com/spf13/hugo/tpl/tplimpl"
 )
 
 const (
@@ -27,7 +27,7 @@ const (
 func TestTemplatePathSeparator(t *testing.T) {
 	t.Parallel()
 	tmpl := new(tpl.GoHTMLTemplate)
-	if name := tmpl.GenerateTemplateNameFrom(win_base, win_path); name != "sub1/index.html" {
+	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")
 	}
 }