We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
if foo.bar = baz 91 end
Should trigger the Lint/AssignmentInCondition
Lint/AssignmentInCondition
No error
$ cat a.rb if foo.bar = baz 91 end $ rubocop a.rb Inspecting 1 file . 1 file inspected, no offenses detected
$ rubocop -V 0.38.0 (using Parser 2.3.0.6, running on ruby 2.1.2 x86_64-darwin15.0)
The text was updated successfully, but these errors were encountered:
I've got a fix.
Sorry, something went wrong.
88536fe
No branches or pull requests
Expected behavior
Should trigger the
Lint/AssignmentInCondition
Actual behavior
No error
Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: