From 22e19245e05a43b645c8a65cc9b1266df3a85579 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Tue, 22 May 2018 23:01:25 -0700 Subject: [PATCH] fixtests --- main/src/mill/main/MillServerMain.scala | 4 ++-- scratch/build.sc | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/main/src/mill/main/MillServerMain.scala b/main/src/mill/main/MillServerMain.scala index 2fea4bd8c4b..5ced75eba13 100644 --- a/main/src/mill/main/MillServerMain.scala +++ b/main/src/mill/main/MillServerMain.scala @@ -114,8 +114,8 @@ class Server[T](lockBase: String, def handleRun(clientSocket: Socket) = { val currentOutErr = clientSocket.getOutputStream - val stdout = new PrintStream(new ProxyOutputStream(currentOutErr, -1), true) - val stderr = new PrintStream(new ProxyOutputStream(currentOutErr, 1), true) + val stdout = new PrintStream(new ProxyOutputStream(currentOutErr, 1), true) + val stderr = new PrintStream(new ProxyOutputStream(currentOutErr, -1), true) val socketIn = clientSocket.getInputStream val argStream = new FileInputStream(lockBase + "/run") val interactive = argStream.read() != 0 diff --git a/scratch/build.sc b/scratch/build.sc index ae763e4d767..9842039e438 100644 --- a/scratch/build.sc +++ b/scratch/build.sc @@ -1,3 +1,4 @@ def thingy = T { - 12345678 + val blob = (('0' to '9') ++ ('a' to 'z') ++ ('A' to 'Z')).mkString + while(true) print(blob) } \ No newline at end of file