forked from TrueCloudLab/rclone
dirtree: make tests more reliable
This commit is contained in:
parent
a1cfe61ffd
commit
9cafeeb4b6
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ func TestDirTreeCheckParents(t *testing.T) {
|
|||
dt.Add(mockobject.New("dir/subdir2/sausage2"))
|
||||
|
||||
dt.CheckParents("")
|
||||
dt.Sort() // sort since the exact order of adding parents is not defined
|
||||
|
||||
assert.Equal(t, `/
|
||||
dir/
|
||||
|
|
Loading…
Add table
Reference in a new issue