diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2018-09-15 03:49:33 +0200 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-09-15 09:49:33 +0800 |
commit | be441e786ead9cc251418856189751b3e51d325e (patch) | |
tree | f208233923315690d4750c5ae6f1bf8731ff4d45 /contrib/buildinfo/test/src/mill/contrib/BuildInfoTests.scala | |
parent | fc86e68cb3ae31d1cd1b07df9665d34cf617954d (diff) | |
download | mill-be441e786ead9cc251418856189751b3e51d325e.tar.gz mill-be441e786ead9cc251418856189751b3e51d325e.tar.bz2 mill-be441e786ead9cc251418856189751b3e51d325e.zip |
Remove useless type parameters for {Test,}Evaluator (#416)
* Remove useless type parameters for {Test,}Evaluator
* Update Evaluator.scala
Diffstat (limited to 'contrib/buildinfo/test/src/mill/contrib/BuildInfoTests.scala')
-rw-r--r-- | contrib/buildinfo/test/src/mill/contrib/BuildInfoTests.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/buildinfo/test/src/mill/contrib/BuildInfoTests.scala b/contrib/buildinfo/test/src/mill/contrib/BuildInfoTests.scala index 9e1549de..e2147bac 100644 --- a/contrib/buildinfo/test/src/mill/contrib/BuildInfoTests.scala +++ b/contrib/buildinfo/test/src/mill/contrib/BuildInfoTests.scala @@ -45,9 +45,9 @@ object BuildInfoTests extends TestSuite { val resourcePath = pwd / 'contrib / 'buildinfo / 'test / 'resources / "buildinfo" - def workspaceTest[T, M <: TestUtil.BaseModule](m: M, resourcePath: Path = resourcePath) - (t: TestEvaluator[M] => T) - (implicit tp: TestPath): 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) rm(eval.outPath) |