dirtree: make tests more reliable
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user