TUN-4075: Dedup test should not compare order of list

This commit is contained in:
Adam Chalmers 2021-03-10 13:48:59 -06:00
parent 8e340d9598
commit aa5ebb817a
1 changed files with 1 additions and 1 deletions

View File

@ -9,5 +9,5 @@ import (
func TestDedup(t *testing.T) { func TestDedup(t *testing.T) {
expected := []string{"a", "b"} expected := []string{"a", "b"}
actual := dedup([]string{"a", "b", "a"}) actual := dedup([]string{"a", "b", "a"})
require.Equal(t, expected, actual) require.ElementsMatch(t, expected, actual)
} }