Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
assert, assert/cmp: un-deprecate assert.ErrorType for now
Commit 043b579 deprecated these functions, marking assert.ErrorIs as a replacement. Unfortunately, assert.ErrorIs is not a drop-in replacement for various situations, or requires quite some additional boilerplating to be used. This patch reverts the deprecation for now, but keeps recommendations in place to consider ErrorIs for situations that allow it. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information