File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
scala-2/io/cucumber/scala
scala-3/io/cucumber/scala Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ private[scala] trait StepDsl extends BaseScalaDsl {
4646 def apply (fun : Fun0 ): Unit = {
4747 register() {
4848 case Nil => fun.f()
49- case _ =>
49+ case _ =>
5050 throw new IncorrectStepDefinitionException ()
5151 }
5252 }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ private[scala] trait StepDsl extends BaseScalaDsl {
1414 def apply (f : => Any ): Unit = {
1515 register() {
1616 case Nil => f
17- case _ =>
17+ case _ =>
1818 throw new IncorrectStepDefinitionException ()
1919 }
2020 }
@@ -23,7 +23,7 @@ private[scala] trait StepDsl extends BaseScalaDsl {
2323 def apply (fun : () => Any ): Unit = {
2424 register() {
2525 case Nil => fun.apply()
26- case _ =>
26+ case _ =>
2727 throw new IncorrectStepDefinitionException ()
2828 }
2929 }
You canβt perform that action at this time.
0 commit comments