mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Add test for ignoring ~$ files
This commit is contained in:
parent
87d5760abe
commit
165302dcb3
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue