Skip to content

Commit 0d9b4e8

Browse files
committed
Remove old Scala versions from SbtBuildToolSuite
1 parent 219c31b commit 0d9b4e8

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

tests/buildTools/src/test/scala/tests/MillBuildToolSuite.scala

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,19 @@ class MillBuildToolSuite extends BaseBuildToolSuite {
3838
else if (scalaVersion.startsWith("2.13"))
3939
"maven:org.scala-lang:scala-library:2.13.8"
4040
else
41-
throw new IllegalArgumentException(s"Unsupported Scala version: $scalaVersion")
41+
throw new IllegalArgumentException(
42+
s"Unsupported Scala version: $scalaVersion"
43+
)
4244

4345
def scalaBinaryVersion(scalaVersion: String) =
4446
if (scalaVersion.startsWith("3"))
4547
"3"
4648
else if (scalaVersion.startsWith("2.13"))
4749
"2.13"
4850
else
49-
throw new IllegalArgumentException(s"Unsupported Scala version: $scalaVersion")
51+
throw new IllegalArgumentException(
52+
s"Unsupported Scala version: $scalaVersion"
53+
)
5054

5155
for {
5256
mill <- List(Mill0_10, Mill0_11)

tests/buildTools/src/test/scala/tests/SbtBuildToolSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ abstract class SbtBuildToolSuite(sbt: Tool.SBT) extends BaseBuildToolSuite {
55
import Tool._
66

77
for {
8-
scala <- List(Scala211, Scala2_12_12, Scala2_13_8, Scala3)
8+
scala <- List(Scala2_13_8, Scala3)
99
} yield {
1010
checkBuild(
1111
s"basic-${sbt.name}-${scala.name}",

0 commit comments

Comments
 (0)