aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test/TestREPL.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test/TestREPL.scala b/test/test/TestREPL.scala
index 0fe05794f..4899607ce 100644
--- a/test/test/TestREPL.scala
+++ b/test/test/TestREPL.scala
@@ -20,6 +20,9 @@ class TestREPL(script: String) extends REPL {
override lazy val config = new REPL.Config {
override val output = new NewLinePrintWriter(out)
+ override def context(ctx: Context) =
+ ctx.fresh.setSetting(ctx.settings.color, "never")
+
override def input(in: Interpreter)(implicit ctx: Context) = new InteractiveReader {
val lines = script.lines
def readLine(prompt: String): String = {