Skip to content

Commit

Permalink
Fix fix-2.12 test
Browse files Browse the repository at this point in the history
  • Loading branch information
lolgab committed Sep 30, 2024
1 parent afd488d commit 29a274c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions itest/src/fix-2.12/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29a274c

Please sign in to comment.