Skip to content

Commit 205a1a8

Browse files
committed
🏗️ build: upgrade Scala 3 version
1 parent 250eab8 commit 205a1a8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See also the [CHANGELOG](https://github.com/cucumber/cucumber-jvm/blob/master/CH
1414
### Changed
1515

1616
- [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
1818

1919
### Deprecated
2020

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ThisBuild / homepage := Some(
3434

3535
val scala212 = "2.12.20"
3636
val scala213 = "2.13.16"
37-
val scala3 = "3.3.1"
37+
val scala3 = "3.3.6"
3838

3939
scalaVersion := scala213
4040

cucumber-scala/src/test/scala-2/io/cucumber/scala/ScalaDslStepsTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ class ScalaDslStepsTest {
271271
check: => Boolean
272272
): Unit = {
273273
assertEquals(pattern, stepDefinition.getPattern)
274-
assertTrue(stepDefinition.getLocation.contains(location))
274+
assertTrue(stepDefinition.getLocation.contains(location), s"Expected location '${stepDefinition.getLocation}' to contain '$location'")
275275
stepDefinition.execute(args)
276276
assertTrue(check)
277277
}

cucumber-scala/src/test/scala-3/io/cucumber/scala/ScalaDslStepsTest.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ScalaDslStepsTest {
4949
assertClassStepDefinition(
5050
glue.registry.stepDefinitions.head,
5151
"Something",
52-
"ScalaDslStepsTest.scala:43",
52+
"ScalaDslStepsTest.scala:42",
5353
Array(),
5454
invoked
5555
)
@@ -162,7 +162,7 @@ class ScalaDslStepsTest {
162162
assertObjectStepDefinition(
163163
Glue.registry.stepDefinitions.head,
164164
"Something",
165-
"ScalaDslStepsTest.scala:158",
165+
"ScalaDslStepsTest.scala:157",
166166
Array(),
167167
invoked
168168
)
@@ -271,7 +271,7 @@ class ScalaDslStepsTest {
271271
check: => Boolean
272272
): Unit = {
273273
assertEquals(pattern, stepDefinition.getPattern)
274-
assertTrue(stepDefinition.getLocation.contains(location))
274+
assertTrue(stepDefinition.getLocation.contains(location), s"Expected location '${stepDefinition.getLocation}' to contain '$location'")
275275
stepDefinition.execute(args)
276276
assertTrue(check)
277277
}

0 commit comments

Comments
 (0)