Open architagr opened 2 weeks ago
Incorrect assert.Error() docs
Removing the if statement and the Equal call from the example.
Since we already have EqualError, the documentation is trying to use assert.Equal to assert the error object's content.
assert.Equal
Closes #1609
Summary
Incorrect assert.Error() docs
Changes
Removing the if statement and the Equal call from the example.
Motivation
Since we already have EqualError, the documentation is trying to use
assert.Equal
to assert the error object's content.Related issues
Closes #1609