cucumber/cucumber — pull request #579 by jnyman (2013-10-27 09:59:27+00:00)
Title: Remove unnecessary snippet comment.

I removed the comment that occurs in snippet output:

# express the regexp above with the code you wish you had

My main reason for wanting to remove this is that it's simply noise. It clutters up the output in my opinion. Also, the phrase might not even make sense in some cases since the phrase occurs even if you have no regexp in your step.

Third I think it's an oddly worded statement anyway. Most people associate "the code" with the stuff that goes in the step matcher, not with the regular expression. I think this makes the output look much cleaner.

I think if people are at the point where they are modifying snippets, they should already know how to do what they want to do. And even if they are no at that level, I don't believe the above comment really helps them much.