File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
scala-2/io/cucumber/scala
scala-3/io/cucumber/scala Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ See also the [CHANGELOG](https://github.com/cucumber/cucumber-jvm/blob/master/CH
14
14
### Changed
15
15
16
16
- [ Core] Update ` cucumber-core ` dependency to [ 7.28.0] ( https://github.com/cucumber/cucumber-jvm/blob/main/CHANGELOG.md )
17
- - Upgrade Scala versions to 2.12.20
17
+ - Upgrade Scala versions to 2.12.20 and 3.3.6
18
18
19
19
### Deprecated
20
20
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ ThisBuild / homepage := Some(
34
34
35
35
val scala212 = " 2.12.20"
36
36
val scala213 = " 2.13.16"
37
- val scala3 = " 3.3.1 "
37
+ val scala3 = " 3.3.6 "
38
38
39
39
scalaVersion := scala213
40
40
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ class ScalaDslStepsTest {
271
271
check : => Boolean
272
272
): Unit = {
273
273
assertEquals(pattern, stepDefinition.getPattern)
274
- assertTrue(stepDefinition.getLocation.contains(location))
274
+ assertTrue(stepDefinition.getLocation.contains(location), s " Expected location ' ${stepDefinition.getLocation} ' to contain ' $location ' " )
275
275
stepDefinition.execute(args)
276
276
assertTrue(check)
277
277
}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class ScalaDslStepsTest {
49
49
assertClassStepDefinition(
50
50
glue.registry.stepDefinitions.head,
51
51
" Something" ,
52
- " ScalaDslStepsTest.scala:43 " ,
52
+ " ScalaDslStepsTest.scala:42 " ,
53
53
Array (),
54
54
invoked
55
55
)
@@ -162,7 +162,7 @@ class ScalaDslStepsTest {
162
162
assertObjectStepDefinition(
163
163
Glue .registry.stepDefinitions.head,
164
164
" Something" ,
165
- " ScalaDslStepsTest.scala:158 " ,
165
+ " ScalaDslStepsTest.scala:157 " ,
166
166
Array (),
167
167
invoked
168
168
)
@@ -271,7 +271,7 @@ class ScalaDslStepsTest {
271
271
check : => Boolean
272
272
): Unit = {
273
273
assertEquals(pattern, stepDefinition.getPattern)
274
- assertTrue(stepDefinition.getLocation.contains(location))
274
+ assertTrue(stepDefinition.getLocation.contains(location), s " Expected location ' ${stepDefinition.getLocation} ' to contain ' $location ' " )
275
275
stepDefinition.execute(args)
276
276
assertTrue(check)
277
277
}
You can’t perform that action at this time.
0 commit comments