diff options
Diffstat (limited to 'scalalib/test/src/mill/scalalib/scalafmt/ScalafmtTests.scala')
-rw-r--r-- | scalalib/test/src/mill/scalalib/scalafmt/ScalafmtTests.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scalalib/test/src/mill/scalalib/scalafmt/ScalafmtTests.scala b/scalalib/test/src/mill/scalalib/scalafmt/ScalafmtTests.scala index fcff52a3..89d549ff 100644 --- a/scalalib/test/src/mill/scalalib/scalafmt/ScalafmtTests.scala +++ b/scalalib/test/src/mill/scalalib/scalafmt/ScalafmtTests.scala @@ -22,9 +22,9 @@ object ScalafmtTests extends TestSuite { val resourcePath = pwd / 'scalalib / 'test / 'resources / 'scalafmt - def workspaceTest[T, M <: TestUtil.BaseModule]( - m: M, - resourcePath: Path = resourcePath)(t: TestEvaluator[M] => T)( + def workspaceTest[T]( + m: TestUtil.BaseModule, + resourcePath: Path = resourcePath)(t: TestEvaluator => T)( implicit tp: TestPath): T = { val eval = new TestEvaluator(m) rm(m.millSourcePath) @@ -91,7 +91,7 @@ object ScalafmtTests extends TestSuite { case class FileInfo(content: String, modifyTime: Long, path: Path) - def getProjectFiles(m: ScalaModule, eval: TestEvaluator[_]) = { + def getProjectFiles(m: ScalaModule, eval: TestEvaluator) = { val Right((sources, _)) = eval.apply(m.sources) val Right((resources, _)) = eval.apply(m.resources) |