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

Add support for more methods in Style/Next #2193

Merged
merged 1 commit into from
Aug 27, 2015

Conversation

rrosenblum
Copy link
Contributor

No description provided.

@rrosenblum rrosenblum force-pushed the add_iterators_to_next branch from 39931eb to d07ae23 Compare August 27, 2015 02:27
@@ -88,6 +88,61 @@
expect(cop.highlights).to eq(["#{condition} o == 1"])
end

it "registers an offense for #{condition} inside of collect" do
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we should generate those examples in some loop.

bbatsov added a commit that referenced this pull request Aug 27, 2015
Add support for more methods in Style/Next
@bbatsov bbatsov merged commit 6af6f07 into rubocop:master Aug 27, 2015
@rrosenblum rrosenblum deleted the add_iterators_to_next branch August 27, 2015 12:32
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.

2 participants