From 29a274ca6b261fe3a38a83a45faaf2a76ad629f3 Mon Sep 17 00:00:00 2001 From: Lorenzo Gabriele Date: Mon, 30 Sep 2024 13:06:13 +0200 Subject: [PATCH] Fix fix-2.12 test --- itest/src/fix-2.12/build.sc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/itest/src/fix-2.12/build.sc b/itest/src/fix-2.12/build.sc index 3b6f862..e97c8af 100644 --- a/itest/src/fix-2.12/build.sc +++ b/itest/src/fix-2.12/build.sc @@ -5,14 +5,17 @@ import mill.scalalib._ import os._ object project extends ScalaModule with ScalafixModule { - def scalaVersion = "2.12.17" + def scalaVersion = "2.12.19" def scalacOptions = Seq("-Ywarn-unused") + def ivyDeps = Agg(ivy"org.scala-lang.modules::scala-collection-compat:2.12.0") } def verify() = T.command { val fixedScala = read(pwd / "project" / "src" / "Fix.scala") - val expected = """object Fix { + val expected = """ + | + |object Fix { | def procedure(): Unit = {} |} |""".stripMargin