Correct typo in hugolib/path_separators_windows_test.go

This commit is contained in:
Anthony Fok 2015-01-12 13:15:04 -07:00
parent a4eef4eb16
commit 6ee35f654f

View file

@ -10,7 +10,7 @@ const (
win_path = "c:\\a\\windows\\path\\layout\\sub1\\index.html"
)
func TestTemplatePathSeperator(t *testing.T) {
func TestTemplatePathSeparator(t *testing.T) {
tmpl := new(tpl.GoHtmlTemplate)
if name := tmpl.GenerateTemplateNameFrom(win_base, win_path); name != "sub1/index.html" {
t.Fatalf("Template name incorrect. Expected: %s, Got: %s", "sub1/index.html", name)