From a63c840c91f7a50f602af15e05287a600b9130fe Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Thu, 7 Nov 2024 01:00:50 +0100 Subject: [PATCH] Fix MavenTests deprecation message (#3915) --- scalalib/src/mill/scalalib/JavaModule.scala | 4 ++-- scalalib/src/mill/scalalib/MavenModule.scala | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scalalib/src/mill/scalalib/JavaModule.scala b/scalalib/src/mill/scalalib/JavaModule.scala index 31172c0d754..29638578cde 100644 --- a/scalalib/src/mill/scalalib/JavaModule.scala +++ b/scalalib/src/mill/scalalib/JavaModule.scala @@ -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 diff --git a/scalalib/src/mill/scalalib/MavenModule.scala b/scalalib/src/mill/scalalib/MavenModule.scala index f1bc38aaaf9..58b7d4febc9 100644 --- a/scalalib/src/mill/scalalib/MavenModule.scala +++ b/scalalib/src/mill/scalalib/MavenModule.scala @@ -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"