Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inverted arguments order of FailureMessage of BeComparableToMatcher
BeComparableTo behaved differently between Match and FailureMessage which made asymmetric go-cmp Options (e.g. https://pkg.go.dev/k8s.io/apimachinery/pkg/util/diff#IgnoreUnset) print a nonsensical error message. Fixed this issue by inverting order or comparison, and improved a bit messages.
- Loading branch information