diff --git a/cmd/cloudflared/tunnel/config_test.go b/cmd/cloudflared/tunnel/config_test.go index edfb77cd..929d7dfe 100644 --- a/cmd/cloudflared/tunnel/config_test.go +++ b/cmd/cloudflared/tunnel/config_test.go @@ -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) }