-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Cop idea: Identical equality assertion #1130
Labels
Comments
It can fail in rare cases, e.g. I was about to swear that we've had a similar ticket in our backlog, but couldn't find anything. Thanks for submitting the idea! |
andyw8
changed the title
Cop idea: Identical assertion
Cop idea: Identical equality assertion
Feb 11, 2021
tejasbubane
added a commit
to tejasbubane/rubocop-rspec
that referenced
this issue
Feb 13, 2021
tejasbubane
added a commit
to tejasbubane/rubocop-rspec
that referenced
this issue
Feb 13, 2021
11 tasks
tejasbubane
added a commit
to tejasbubane/rubocop-rspec
that referenced
this issue
Feb 13, 2021
tejasbubane
added a commit
to tejasbubane/rubocop-rspec
that referenced
this issue
Feb 21, 2021
tejasbubane
added a commit
to tejasbubane/rubocop-rspec
that referenced
this issue
Feb 21, 2021
tejasbubane
added a commit
to tejasbubane/rubocop-rspec
that referenced
this issue
Mar 23, 2021
tejasbubane
added a commit
to tejasbubane/rubocop-rspec
that referenced
this issue
Mar 23, 2021
tejasbubane
added a commit
to tejasbubane/rubocop-rspec
that referenced
this issue
May 21, 2021
tejasbubane
added a commit
to tejasbubane/rubocop-rspec
that referenced
this issue
May 24, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An assertion such as this is probably a typo or a flawed test (since it can never fail):
expect(foo.bar).to eq(foo.bar)
The text was updated successfully, but these errors were encountered: