Skip to content

Commit

Permalink
Fix MavenTests deprecation message (#3915)
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi authored Nov 7, 2024
1 parent 9d11962 commit a63c840
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scalalib/src/mill/scalalib/JavaModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ trait JavaModule
val outerInnerSets = Seq(
("mill.scalajslib.ScalaJSModule", "ScalaJSTests"),
("mill.scalanativelib.ScalaNativeModule", "ScalaNativeTests"),
("mill.scalalib.SbtModule", "SbtModuleTests"),
("mill.scalalib.MavenModule", "MavenModuleTests")
("mill.scalalib.SbtModule", "SbtTests"),
("mill.scalalib.MavenModule", "MavenTests")
)
for {
(mod, testModShort) <- outerInnerSets
Expand Down
2 changes: 1 addition & 1 deletion scalalib/src/mill/scalalib/MavenModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ trait MavenModule extends JavaModule { outer =>

@nowarn
type MavenTests = MavenModuleTests
@deprecated("Use JavaTests instead", since = "Mill 0.11.10")
@deprecated("Use MavenTests instead", since = "Mill 0.11.10")
trait MavenModuleTests extends JavaTests {
override def millSourcePath = outer.millSourcePath
override def intellijModulePath: os.Path = outer.millSourcePath / "src/test"
Expand Down

0 comments on commit a63c840

Please sign in to comment.