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 30
30
<minimum .maven.version>3.3</minimum .maven.version>
31
31
<outputDirectory >${project.build.directory}</outputDirectory >
32
32
<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>
34
34
<gherkin .version>5.1.0</gherkin .version>
35
35
<groovy .version>2.4.12</groovy .version>
36
36
<junit .version>4.12</junit .version>
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ class ScalaDslTest {
21
21
22
22
def embed (p1 : Array [Byte ], p2 : String ) {}
23
23
24
+ def embed (p1 : Array [Byte ], p2 : String , p3 : String ) {}
25
+
24
26
def write (p1 : String ) {}
25
27
26
28
def getName = " "
@@ -137,7 +139,7 @@ class ScalaDslTest {
137
139
138
140
assertEquals(1 , Dummy .getStepDefs(new TypeRegistry (Locale .ENGLISH )).size)
139
141
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
141
143
assertEquals(" x" , step.getPattern)
142
144
step.execute( Array ())
143
145
assertTrue(called)
You can’t perform that action at this time.
0 commit comments