mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 13:40:38 +03:00
parent
648204b3f1
commit
3b9f2a7ded
2 changed files with 29 additions and 1 deletions
|
@ -973,3 +973,18 @@ s2.
|
|||
}
|
||||
})
|
||||
}
|
||||
|
||||
func TestSkipDotFiles(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
files := `
|
||||
-- hugo.toml --
|
||||
-- layouts/all.html --
|
||||
All.
|
||||
-- layouts/.DS_Store --
|
||||
{{ foo }}
|
||||
`
|
||||
|
||||
// Just make sure it doesn't fail.
|
||||
hugolib.Test(t, files)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue