Skip to content

Commit 0b6930d

Browse files
committed
Fixed compilation error in scala example
1 parent 21257f1 commit 0b6930d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/scala-calculator/src/test/scala/cucumber/examples/scalacalculator/RpnCalculatorStepDefinitions.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package cucumber.examples.scalacalculator
22

3+
import cucumber.api.Scenario
34
import cucumber.api.scala.{ScalaDsl, EN}
45
import junit.framework.Assert._
56

@@ -17,7 +18,7 @@ class RpnCalculatorStepDefinitions extends ScalaDsl with EN {
1718
assertEquals(expected, calc.value)
1819
}
1920

20-
Before("~@foo"){
21+
Before("~@foo"){ scenario : Scenario =>
2122
println("Runs before scenarios *not* tagged with @foo")
2223
}
2324
}

0 commit comments

Comments
 (0)