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

cannot have multiple parameter type on the same line #147

Closed
vlalanne opened this issue Nov 15, 2023 · 1 comment
Closed

cannot have multiple parameter type on the same line #147

vlalanne opened this issue Nov 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@vlalanne
Copy link
Contributor

Describe the bug
When a step contains both {text} and {int} or {word}, steps are not matched
To Reproduce
Given steps:

	suite.AddStep(`the result should equal text {text}`, checkt)
	suite.AddStep(`I concat word {word} and text {text}`, concat)
	suite.AddStep(`I format text {text} with int {int}`,  format)

Try running scenarios:

  Scenario: concat a word and a text with double quotes
    When I concat word Hello and text " World!"
    Then the result should equal text "Hello World!"
  Scenario: format text
    When I format text "counter %d" with int -12
    Then the result should equal text "counter -12"

Expected behavior
Test passes

Additional context
Add any other context about the problem here.

@vlalanne vlalanne added the bug Something isn't working label Nov 15, 2023
Copy link

Thanks for creating your first issue! We are thankful for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant