TUN-4075: Dedup test should not compare order of list
This commit is contained in:
parent
8e340d9598
commit
aa5ebb817a
|
@ -9,5 +9,5 @@ import (
|
|||
func TestDedup(t *testing.T) {
|
||||
expected := []string{"a", "b"}
|
||||
actual := dedup([]string{"a", "b", "a"})
|
||||
require.Equal(t, expected, actual)
|
||||
require.ElementsMatch(t, expected, actual)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue