File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Feature: Using variadic arguments in Behat steps definitions
1212 {
1313 /**
1414 * @When I use a step with :two :arguments
15- * @When I use another step :with :three :arguments
15+ * @When /^ I use another step (\w+) (\w+) (\w+)$/
1616 */
1717 public function iUseAStepWith(...$variadic)
1818 {
@@ -21,7 +21,7 @@ Feature: Using variadic arguments in Behat steps definitions
2121 }
2222 """
2323
24- Scenario : Enabled variadic support
24+ Scenario : Enabled variadic support for steps with turnip notation
2525 Given a Behat configuration containing:
2626 """
2727 default:
@@ -37,7 +37,7 @@ Feature: Using variadic arguments in Behat steps definitions
3737 When I run Behat
3838 Then it should pass with "Number of passed arguments: 2"
3939
40- Scenario : Enabled variadic reduce code duplication
40+ Scenario : Enabled variadic support for steps with regexp notation
4141 Given a Behat configuration containing:
4242 """
4343 default:
You can’t perform that action at this time.
0 commit comments