crossplane-runtime
crossplane-runtime copied to clipboard
Mark test.EquateErrors as deprecated
Description of your changes
We can't remove this (it would be a breaking API change) but I want to discourage and redirect folks.
See https://github.com/crossplane/crossplane/issues/4514 for context and more discussion. I've also updated this repo to follow the new pattern proposed in that issue, so it acts as an example of how tests might look if we choose to adopt it.
I have:
- [x] Read and followed Crossplane's contribution process.
- [x] Run
make reviewable testto ensure this PR is ready for review.
How has this code been tested
Converting to draft because I forgot I had to update all the uses in this repo. 😆
This is approved, so if this PR is still relevant could we rebase and merge?