Filter dot files etc. in i18n

Closes #11993
This commit is contained in:
Bjørn Erik Pedersen
2024-02-05 14:54:02 +01:00
parent c37bf19c89
commit 9df7b295bc
5 changed files with 38 additions and 14 deletions

View File

@@ -135,3 +135,14 @@ FormatNumberCustom: 12,345.68
NumFmt: -98,765.43
`)
}
// Issue 11993.
func TestI18nDotFile(t *testing.T) {
files := `
-- hugo.toml --{}
baseURL = "https://example.com"
-- i18n/.keep --
-- data/.keep --
`
Test(t, files)
}