mirror of
https://github.com/rclone/rclone
synced 2024-11-28 06:41:41 +01:00
fs/test: fix erratic test
This commit is contained in:
parent
532a0818f7
commit
d9bd6f35f2
@ -163,7 +163,7 @@ func (ls *listDirs) WalkFn(dir string, entries fs.DirEntries, err error) error {
|
|||||||
// Walk does the walk and tests the expectations
|
// Walk does the walk and tests the expectations
|
||||||
func (ls *listDirs) Walk() {
|
func (ls *listDirs) Walk() {
|
||||||
err := walk(context.Background(), nil, "", ls.includeAll, ls.maxLevel, ls.WalkFn, ls.ListDir)
|
err := walk(context.Background(), nil, "", ls.includeAll, ls.maxLevel, ls.WalkFn, ls.ListDir)
|
||||||
assert.Equal(ls.t, ls.finalError, err)
|
assert.True(ls.t, errors.Is(ls.finalError, err))
|
||||||
ls.IsFinished()
|
ls.IsFinished()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user