walker: test skipping for root node
This commit is contained in:
parent
0b39940fdb
commit
fdcbb53017
1 changed files with 7 additions and 0 deletions
|
@ -232,6 +232,13 @@ func TestWalker(t *testing.T) {
|
||||||
"/subdir",
|
"/subdir",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
checkSkipFor(
|
||||||
|
map[string]struct{}{
|
||||||
|
"/": {},
|
||||||
|
}, []string{
|
||||||
|
"/",
|
||||||
|
},
|
||||||
|
),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue