mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
Add test for ignoring ~$ files
This commit is contained in:
@@ -15,6 +15,10 @@ func TestIgnoreDotFiles(t *testing.T) {
|
||||
{".barfoo.md", true},
|
||||
{".md", true},
|
||||
{"", true},
|
||||
{"foobar/barfoo.md~", true},
|
||||
{".foobar/barfoo.md~", true},
|
||||
{"foobar~/barfoo.md", false},
|
||||
{"foobar/bar~foo.md", false},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
Reference in New Issue
Block a user