mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 15:10:58 +00:00
Correct typo in hugolib/path_separators_windows_test.go
This commit is contained in:
parent
a4eef4eb16
commit
6ee35f654f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue