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

Include a Cop to enforce refute_equal over assert(negations) #21

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

duduribeiro
Copy link
Contributor

This commit adds a Cop that checks some usage of
assert(some negations) and enforces the usage of
refute_eqaul(expected, actual) instead.

Replace this text with a summary of the changes in your PR.
The more detailed you are, the better.

@duduribeiro duduribeiro force-pushed the cop_to_enforce_refute_equal branch 4 times, most recently from b9599f9 to 0eebc89 Compare October 3, 2019 21:10
@bbatsov
Copy link
Contributor

bbatsov commented Oct 5, 2019

Most of my feedback from your other PR applies here as well.

@duduribeiro duduribeiro force-pushed the cop_to_enforce_refute_equal branch 3 times, most recently from 4be949f to fc38458 Compare October 11, 2019 18:20
@duduribeiro
Copy link
Contributor Author

hey @bbatsov and @koic 👋

I did update the code. Can you folks re-review it? Thanks!

This commit adds a Cop that checks some usage of
`assert(some negations)` and enforces the usage of
`refute_eqaul(expected, actual)` instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants