mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Ignore emacs temp files
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
d44bb4ec05
commit
32d82a4496
@@ -43,6 +43,8 @@ func TestIgnoreDotFilesAndDirectories(t *testing.T) {
|
||||
{"foobar/foo.html", false, []string{"\\.md$", "\\.boo$"}},
|
||||
{"foobar/foo.md", true, []string{"^foo"}},
|
||||
{"foobar/foo.md", false, []string{"*", "\\.md$", "\\.boo$"}},
|
||||
{"foobar/.#content.md", true, []string{"/\\.#"}},
|
||||
{".#foobar.md", true, []string{"^\\.#"}},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
Reference in New Issue
Block a user