Skip to content

Commit a7ca82e

Browse files
committed
Fix snippet generation test
1 parent 59ae7a4 commit a7ca82e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

groovy/src/test/java/io/cucumber/groovy/GroovySnippetTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void generatesCopyPasteReadySnippetWhenStepHasIntegersInsideStringParamet
6161
@Test
6262
public void generatesSnippetWithEscapedDollarSigns() {
6363
List<String> expected = Collections.singletonList("" +
64-
"Given(/I have $5/) { ->\n" +
64+
"Given(/I have ${int}/) { Integer int1 ->\n" +
6565
" // Write code here that turns the phrase above into concrete actions\n" +
6666
" throw new io.cucumber.groovy.PendingException()\n" +
6767
"}\n");

0 commit comments

Comments
 (0)