Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New cop: Minitest/UselessAssertion #205

Closed
fatkodima opened this issue Dec 19, 2022 · 0 comments · Fixed by #207
Closed

New cop: Minitest/UselessAssertion #205

fatkodima opened this issue Dec 19, 2022 · 0 comments · Fixed by #207
Labels
enhancement New feature or request

Comments

@fatkodima
Copy link
Contributor

Checks for presence of something like: assert true, refute false, assert_equal foo, foo etc.
Most of the times this is a bug or just useless etc.

@koic koic added the enhancement New feature or request label Dec 20, 2022
@koic koic closed this as completed in #207 Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants