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.
Describe the bug When a step contains both
{text}
and{int}
or{word}
, steps are not matched To Reproduce Given steps:Try running scenarios:
Expected behavior Test passes
Additional context Add any other context about the problem here.