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