Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
Co-authored-by: ccoVeille <[email protected]>
  • Loading branch information
mmorel-35 and ccoVeille authored Jul 1, 2024
1 parent 8c76124 commit 9d3bc59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Describe a new checker in [checkers section](./README.md#checkers).

**Autofix**: false. <br>
**Enabled by default**: true. <br>
**Reason**: The `assert.ErrorContains()` is an anti-pattern. The test needs to be adapted to use `assert.ErrorIs()` or `assert.ErrorAs()` methods. <br>
**Reason**: The `assert.ErrorContains()` is commonly used as an anti-pattern. The code and tests often needs to be adapted to be able to use `assert.ErrorIs()` or `assert.ErrorAs()` methods. <br>
**Related issues**: [#47](https://github.com/Antonboom/testifylint/issues/47)

---
Expand Down

0 comments on commit 9d3bc59

Please sign in to comment.