Closed harshsingh32 closed 1 year ago
Using require.ElementsMatch() function instead of assert.Equal() for comparing slices, will ensure that the order of elements in the slice does not matter.
require.ElementsMatch()
assert.Equal()
There's no broken tests that justifies theses changes.
Using
require.ElementsMatch()
function instead ofassert.Equal()
for comparing slices, will ensure that the order of elements in the slice does not matter.