mirror of
https://github.com/rclone/rclone.git
synced 2025-08-13 23:38:51 +02:00
support exclude file in --fast-list mode
This commit is contained in:
committed by
Nick Craig-Wood
parent
557dd8f031
commit
538246f6c3
@ -164,7 +164,8 @@ type includeDirTest struct {
|
||||
|
||||
func testDirInclude(t *testing.T, f *Filter, tests []includeDirTest) {
|
||||
for _, test := range tests {
|
||||
got := f.IncludeDirectory(test.in)
|
||||
got, err := f.IncludeDirectory(nil)(test.in)
|
||||
require.NoError(t, err)
|
||||
assert.Equal(t, test.want, got, test.in)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user