Skip to content

Commit

Permalink
Make UselssAssertion autocorrect contextual
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Apr 7, 2024
1 parent 50e8859 commit 7ff3a62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog/change_make_useless_assertion_as_contextual.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#308](https://github.com/rubocop/rubocop-minitest/pull/308): Make `UselssAssertion` autocorrect `contextual`. ([@earlopain][])
1 change: 1 addition & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,3 +349,4 @@ Minitest/UselessAssertion:
Description: 'Detects useless assertions (assertions that either always pass or always fail).'
Enabled: pending
VersionAdded: '0.26'
AutoCorrect: contextual

0 comments on commit 7ff3a62

Please sign in to comment.