fix Cloudflare TestGroupByNameAndType to allow for different ordering in actual vs expected. (This shouldn't really be part of the PR, but it is intermitently breaking builds.)

This commit is contained in:
twilfong 2019-06-28 17:39:07 -07:00
parent 0a7c3ba271
commit 24e5529cc1

View File

@ -814,6 +814,6 @@ func TestGroupByNameAndType(t *testing.T) {
} }
for _, tc := range testCases { for _, tc := range testCases {
assert.Equal(t, groupByNameAndType(tc.Records), tc.ExpectedEndpoints) assert.ElementsMatch(t, groupByNameAndType(tc.Records), tc.ExpectedEndpoints)
} }
} }