<!-- If this is a question, consider using the discussion section of this repo --> <!-- Here: https://github.com/stretchr/testify/discussions/new?category=q-a --> ## Description The addition of `omitzero` to [encoding/json](https://pkg.go.dev/encoding/json#Marshal) creates confusion ## Proposed solution - Add information about this to the documentation of assert.Zero, or somewhere else more appropriate - add a unit test with a simple struct that will implement `IsZero() bool` and return `true` to validate no changes is done in that direction ## Use case Prevent confusion and PR that might pop out - https://github.com/stretchr/testify/pull/1704