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

(snippet pattern) #331

Merged
merged 2 commits into from
Feb 18, 2013
Merged

(snippet pattern) #331

merged 2 commits into from
Feb 18, 2013

Conversation

martco
Copy link
Contributor

@martco martco commented Oct 19, 2012

The Ruby snippet text generated by Cucumber causes Ruby warnings.

This pull request fixes that by wrapping the snippet pattern in parentheses.

To see the warning, run any file with Cucumber-generated snippet text (i.e. foo.feature) with ruby -cv foo.feature.

Adding parentheses around the text generated by RbModule#snippet_pattern prevents these warnings from appearing. I've updated the specs to reflect this change. I've also created an issue which has more details and screenshots, as well as several comments.

Thanks, and i'm open to feedback!

Martin

@ghost ghost assigned os97673 Feb 18, 2013
@os97673 os97673 merged commit 71bfca8 into cucumber:master Feb 18, 2013
@os97673
Copy link
Member

os97673 commented Feb 18, 2013

Thank you for contribution.

@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants