mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Test cases for ignoreDotFile
Meant to commit this earlier, but it's a basic unit test.
This commit is contained in:
@@ -8,7 +8,7 @@ func TestIgnoreDotFiles(t *testing.T) {
|
|||||||
tests := []struct {
|
tests := []struct {
|
||||||
path string
|
path string
|
||||||
ignore bool
|
ignore bool
|
||||||
} {
|
}{
|
||||||
{"barfoo.md", false},
|
{"barfoo.md", false},
|
||||||
{"foobar/barfoo.md", false},
|
{"foobar/barfoo.md", false},
|
||||||
{"foobar/.barfoo.md", true},
|
{"foobar/.barfoo.md", true},
|
||||||
|
Reference in New Issue
Block a user