fs/test: fix erratic test
This commit is contained in:
parent
532a0818f7
commit
d9bd6f35f2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue