Skip to content

Steps regex can accidentally absorb comments #301

medwards opened this Issue Nov 22, 2012 · 0 comments

2 participants


If i make a step @step(r'am using (.*)')

and later I write say...

Given I am using an anvil
  And I am using a hammer # informational comment

Then the parameter passed to the decorated function in the second step will be "hammer # informational comment"

I would expect comments not to be present when applying my step regex.

@medwards medwards added a commit to medwards/salad that referenced this issue Nov 27, 2012
@medwards medwards Workaround for gabrielfalcao/lettuce#301 e570a16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.