Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8274909

Browse files
committed
Fix typo in java8 scenarios
1 parent 4b768dc commit 8274909

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

java8/src/test/java/cucumber/runtime/java8/test/LambdaStepdefs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public LambdaStepdefs() {
4646
-> {
4747
assertEquals((Integer) 1, a);
4848
assertEquals((Float) 2.2f, b);
49-
assertEquals("threed", c);
49+
assertEquals("three", c);
5050
assertEquals((Integer) 4, d);
5151
});
5252
}

java8/src/test/resources/cucumber/runtime/java8/test/java8.feature

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ Feature: Java8
99
And something that isn't defined
1010

1111
Scenario: Parameterless lambdas
12-
Given: A statement with a simple match
12+
Given A statement with a simple match
1313

1414
Scenario: Multi-param lambdas
15-
Given: I will give you 1 and 2.2 and three and 4
16-
And: Do I need this to not match
15+
Given I will give you 1 and 2.2 and three and 4
1716

1817
Scenario: use a table
1918
Given this data table:

0 commit comments

Comments
 (0)