mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Correct typo in hugolib/path_separators_windows_test.go
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user