Skip to content

Commit e93f813

Browse files
committed
Remove eta expansion (deprecated since 2.13.2)
1 parent af66b1a commit e93f813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scala/sources/src/main/scala/io/cucumber/scala/ScalaDsl.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ private[scala] trait StepDsl extends BaseScalaDsl {
378378
*
379379
**/
380380
def apply(f: => Unit): Unit = {
381-
apply(f _)
381+
apply(() => f)
382382
}
383383

384384
def apply(fun: Fun0): Unit = {

0 commit comments

Comments
 (0)