Skip to content

Commit d03a6b3

Browse files
committed
Add test for regexp notation
1 parent 444686c commit d03a6b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/using_variadic_arguments_in_behat_steps_definitions.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)