Skip to content

Commit 9dc9938

Browse files
committed
Cucumber expression are strings
1 parent 1765cf6 commit 9dc9938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cucumber-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
A step definition’s *expression* can either be a regular expression or a [cucumber expression](https://github.com/cucumber/cucumber-expressions#readme). The examples in this section use cucumber expressions. If you prefer to use regular expressions, each *capture group* from the match will be passed as arguments to the step definition’s function.
44

55
```ts
6-
Given(/I have {int} cukes in my belly/, (cukes: number) => {});
6+
Given("I have {int} cukes in my belly", (cukes: number) => {});
77
```
88

99
# Arguments

0 commit comments

Comments
 (0)