1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-17 04:50:02 +02:00

src/api/log_params_test.go: change assert.Equal() to assert.ElementsMatch() to ignore slice order.

This commit is contained in:
Henrik Hautakoski 2022-10-21 14:29:02 +02:00
parent 7f387680ec
commit 3ab2db7cb3
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

View file

@ -30,5 +30,5 @@ func TestLogParams(t *testing.T) {
},
})
assert.Equal(t, expected, p.ToSlice())
assert.ElementsMatch(t, expected, p.ToSlice())
}