Skip to content

Avoid `reflect.DeepEqual` in test code

There are many matches for reflect.DeepEqual in testing code in the tree. The problem with reflect.DeepEqual is that when something fails, it is hard to discern which fields are different between the desired and observed content.

We should lint for reflect.DeepEqual and recommend the developer to change it to assert.Equal, using github.com/stretchr/testify/assert.