2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-24 13:47:42 +00:00

walker: test skipping for root node

This commit is contained in:
Michael Eischer 2024-01-19 21:14:31 +01:00
parent 0b39940fdb
commit fdcbb53017

View File

@ -232,6 +232,13 @@ func TestWalker(t *testing.T) {
"/subdir", "/subdir",
}, },
), ),
checkSkipFor(
map[string]struct{}{
"/": {},
}, []string{
"/",
},
),
}, },
}, },
{ {