File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
groovy/src/main/java/cucumber/runtime/groovy Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,9 @@ public String getLocation(boolean detail) {
4040
4141 @ Override
4242 public void execute (final Scenario scenario ) throws Throwable {
43- Timeout .timeout (new Timeout .Callback <Object >() {
44- @ Override
45- public Object call () throws Throwable {
46- backend .invoke (body , new Object []{scenario });
47- return null ;
48- }
43+ Timeout .timeout (() -> {
44+ backend .invoke (body , new Object []{scenario });
45+ return null ;
4946 }, timeoutMillis );
5047 }
5148
Original file line number Diff line number Diff line change 2323 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
2424 <minimum .maven.version>3.3</minimum .maven.version>
2525 <outputDirectory >${project.build.directory}</outputDirectory >
26- <cucumber .version>4.5.4 </cucumber .version>
26+ <cucumber .version>4.6.0 </cucumber .version>
2727 <gherkin .version>5.1.0</gherkin .version>
2828 <groovy .version>2.4.12</groovy .version>
2929 <junit .version>4.12</junit .version>
You can’t perform that action at this time.
0 commit comments