rubocop / rubocop-minitest

Code style checking for Minitest files.
https://docs.rubocop.org/rubocop-minitest
MIT License
144 stars 44 forks source link

Make `AssertOffense` support `assert_no_corrections` #307

Closed koic closed 8 months ago

koic commented 8 months ago

Despite being mentioned in the AssertOffense documentation, assert_no_corrections was not supported: https://github.com/rubocop/rubocop-minitest/blob/v0.35.0/lib/rubocop/minitest/assert_offense.rb#L58-L72

This PR makes assert_no_corrections supported in accordance with the documentation.


Before submitting the PR make sure the following are checked: