mirror of
https://github.com/rclone/rclone.git
synced 2025-01-09 07:48:19 +01:00
dirtree: make tests more reliable
This commit is contained in:
parent
a1cfe61ffd
commit
9cafeeb4b6
@ -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…
Reference in New Issue
Block a user