summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-03-03 12:51:40 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-03-03 12:51:40 -0800
commita3af0196caff845378d12c8fbaf2a700e1b3371d (patch)
treee95d6ce63aece65e3e8ac0bced3f660e04cadbce
parenta1da8036f6d6744dc0a9c34cc12f8fb26f6d3daa (diff)
downloadmill-a3af0196caff845378d12c8fbaf2a700e1b3371d.tar.gz
mill-a3af0196caff845378d12c8fbaf2a700e1b3371d.tar.bz2
mill-a3af0196caff845378d12c8fbaf2a700e1b3371d.zip
fix tests
-rw-r--r--main/test/src/mill/eval/EvaluationTests.scala4
-rw-r--r--main/test/src/mill/util/TestEvaluator.scala10
2 files changed, 7 insertions, 7 deletions
diff --git a/main/test/src/mill/eval/EvaluationTests.scala b/main/test/src/mill/eval/EvaluationTests.scala
index 3de78998..66147963 100644
--- a/main/test/src/mill/eval/EvaluationTests.scala
+++ b/main/test/src/mill/eval/EvaluationTests.scala
@@ -210,7 +210,7 @@ object EvaluationTests extends TestSuite{
val public = ammonite.ops.read(checker.evaluator.outPath / 'foo / "meta.json")
val overriden = ammonite.ops.read(
checker.evaluator.outPath / 'foo /
- 'overriden / "mill" / "util" / "TestGraphs" / "BaseModule#foo" / "meta.json"
+ 'overriden / "mill" / "util" / "TestGraphs" / "BaseModule" / "foo" / "meta.json"
)
assert(
public.contains("base"),
@@ -238,7 +238,7 @@ object EvaluationTests extends TestSuite{
val public = ammonite.ops.read(checker.evaluator.outPath / 'cmd / "meta.json")
val overriden = ammonite.ops.read(
checker.evaluator.outPath / 'cmd /
- 'overriden / "mill" / "util" / "TestGraphs" / "BaseModule#cmd" / "meta.json"
+ 'overriden / "mill" / "util" / "TestGraphs" / "BaseModule"/ "cmd" / "meta.json"
)
assert(
public.contains("base1"),
diff --git a/main/test/src/mill/util/TestEvaluator.scala b/main/test/src/mill/util/TestEvaluator.scala
index 0dd435eb..078254f1 100644
--- a/main/test/src/mill/util/TestEvaluator.scala
+++ b/main/test/src/mill/util/TestEvaluator.scala
@@ -25,11 +25,11 @@ class TestEvaluator[T <: TestUtil.BaseModule](module: T)
tp: TestPath){
val outPath = TestUtil.getOutPath()
-// val logger = DummyLogger
- val logger = new PrintLogger(
- true,
- ammonite.util.Colors.Default, System.out, System.out, System.err, System.in
- )
+ val logger = DummyLogger
+// val logger = new PrintLogger(
+// true,
+// ammonite.util.Colors.Default, System.out, System.out, System.err, System.in
+// )
val evaluator = new Evaluator(outPath, TestEvaluator.externalOutPath, module, logger)
def apply[T](t: Task[T]): Either[Result.Failing[T], (T, Int)] = {