aboutsummaryrefslogtreecommitdiff
path: root/test/test
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-05-12 15:53:58 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-05-12 15:53:58 +0200
commit799007fcf66b5d4299f31533d57a8eee1a345c22 (patch)
tree7d67ef477292d7f5f90a21cfec599a392eecee18 /test/test
parentdc36755731c92771647531427e390076e558567d (diff)
downloaddotty-799007fcf66b5d4299f31533d57a8eee1a345c22.tar.gz
dotty-799007fcf66b5d4299f31533d57a8eee1a345c22.tar.bz2
dotty-799007fcf66b5d4299f31533d57a8eee1a345c22.zip
Use ChoiceSetting for coloring
Diffstat (limited to 'test/test')
-rw-r--r--test/test/TestREPL.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test/TestREPL.scala b/test/test/TestREPL.scala
index 2beb9e40b..4899607ce 100644
--- a/test/test/TestREPL.scala
+++ b/test/test/TestREPL.scala
@@ -21,7 +21,7 @@ class TestREPL(script: String) extends REPL {
override val output = new NewLinePrintWriter(out)
override def context(ctx: Context) =
- ctx.fresh.setSetting(ctx.settings.XreplNoColor, true)
+ ctx.fresh.setSetting(ctx.settings.color, "never")
override def input(in: Interpreter)(implicit ctx: Context) = new InteractiveReader {
val lines = script.lines