mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08: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
|
||||
func (ls *listDirs) Walk() {
|
||||
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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user