mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 23:24:52 -04:00
Test cases for ignoreDotFile
Meant to commit this earlier, but it's a basic unit test.
This commit is contained in:
parent
0fabd51ab1
commit
9d15262ee5
@ -6,9 +6,9 @@ import (
|
|||||||
|
|
||||||
func TestIgnoreDotFiles(t *testing.T) {
|
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},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user