summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-04 20:41:28 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-04 20:47:46 -0800
commit00d0f979e2facd2c5d12d06dd2dc70c0b14c3c1f (patch)
treeeaa85b4b7fe6ec513f8545d5e1e43954e6e011ce /core
parent74c4751ffc5abcc08f6dae0a336d76549161b444 (diff)
downloadmill-00d0f979e2facd2c5d12d06dd2dc70c0b14c3c1f.tar.gz
mill-00d0f979e2facd2c5d12d06dd2dc70c0b14c3c1f.tar.bz2
mill-00d0f979e2facd2c5d12d06dd2dc70c0b14c3c1f.zip
Cleanup
Diffstat (limited to 'core')
-rw-r--r--core/test/src/mill/util/ScriptTestSuite.scala4
-rw-r--r--core/test/src/mill/util/TestEvaluator.scala4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/test/src/mill/util/ScriptTestSuite.scala b/core/test/src/mill/util/ScriptTestSuite.scala
index 7d46feee..1aa74de1 100644
--- a/core/test/src/mill/util/ScriptTestSuite.scala
+++ b/core/test/src/mill/util/ScriptTestSuite.scala
@@ -11,8 +11,8 @@ abstract class ScriptTestSuite extends TestSuite{
def scriptSourcePath: Path
val workspacePath = pwd / 'target / 'workspace / workspaceSlug
-// val stdOutErr = new PrintStream(new ByteArrayOutputStream())
- val stdOutErr = new PrintStream(System.out)
+ val stdOutErr = new PrintStream(new ByteArrayOutputStream())
+// val stdOutErr = new PrintStream(System.out)
val stdIn = new ByteArrayInputStream(Array())
val runner = new mill.main.MainRunner(
ammonite.main.Cli.Config(wd = workspacePath), false,
diff --git a/core/test/src/mill/util/TestEvaluator.scala b/core/test/src/mill/util/TestEvaluator.scala
index 92ce5b37..c9230065 100644
--- a/core/test/src/mill/util/TestEvaluator.scala
+++ b/core/test/src/mill/util/TestEvaluator.scala
@@ -28,8 +28,8 @@ class TestEvaluator[T <: TestUtil.TestBuild](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)
+ val logger = DummyLogger
+// val logger = new PrintLogger(true, ammonite.util.Colors.Default, System.out, System.out, System.err)
val evaluator = new Evaluator(outPath, TestEvaluator.externalOutPath, module, discover, logger)
def apply[T](t: Task[T]): Either[Result.Failing[T], (T, Int)] = {