File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
scala/sources/src/test/scala/cucumber/api/scala Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3030 <minimum .maven.version>3.3</minimum .maven.version>
3131 <outputDirectory >${project.build.directory}</outputDirectory >
3232 <scala-maven-plugin .version>3.2.2</scala-maven-plugin .version>
33- <cucumber .version>4.5.4 </cucumber .version>
33+ <cucumber .version>4.6.0 </cucumber .version>
3434 <gherkin .version>5.1.0</gherkin .version>
3535 <groovy .version>2.4.12</groovy .version>
3636 <junit .version>4.12</junit .version>
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ class ScalaDslTest {
2121
2222 def embed (p1 : Array [Byte ], p2 : String ) {}
2323
24+ def embed (p1 : Array [Byte ], p2 : String , p3 : String ) {}
25+
2426 def write (p1 : String ) {}
2527
2628 def getName = " "
@@ -137,7 +139,7 @@ class ScalaDslTest {
137139
138140 assertEquals(1 , Dummy .getStepDefs(new TypeRegistry (Locale .ENGLISH )).size)
139141 val step = Dummy .getStepDefs(new TypeRegistry (Locale .ENGLISH )).head
140- assertEquals(" ScalaDslTest.scala:135 " , step.getLocation(true )) // be careful with formatting or this test will break
142+ assertEquals(" ScalaDslTest.scala:137 " , step.getLocation(true )) // be careful with formatting or this test will break
141143 assertEquals(" x" , step.getPattern)
142144 step.execute( Array ())
143145 assertTrue(called)
You can’t perform that action at this time.
0 commit comments