diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-03-31 11:47:47 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-03-31 11:55:06 +0200 |
commit | 6d7c23016ec866de0b29e9bdde00b60c99df90c2 (patch) | |
tree | 6a6e0bdff7aefa783b46415523f7c864f0785253 /compiler/test/dotty | |
parent | f9db9097d0cf314d675669d80f8d5eb8d20f0710 (diff) | |
download | dotty-6d7c23016ec866de0b29e9bdde00b60c99df90c2.tar.gz dotty-6d7c23016ec866de0b29e9bdde00b60c99df90c2.tar.bz2 dotty-6d7c23016ec866de0b29e9bdde00b60c99df90c2.zip |
Make DiffUtil's rendering readable in logs
Diffstat (limited to 'compiler/test/dotty')
-rw-r--r-- | compiler/test/dotty/tools/dotc/ParallelTesting.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/test/dotty/tools/dotc/ParallelTesting.scala b/compiler/test/dotty/tools/dotc/ParallelTesting.scala index 289351d81..8e87c1170 100644 --- a/compiler/test/dotty/tools/dotc/ParallelTesting.scala +++ b/compiler/test/dotty/tools/dotc/ParallelTesting.scala @@ -456,7 +456,7 @@ trait ParallelTesting { self => if (outputLines.length != checkLines.length || !linesMatch) { // Print diff to files and summary: val diff = outputLines.zip(checkLines).map { case (act, exp) => - DiffUtil.mkColoredCodeDiff(exp, act, true) + DiffUtil.mkColoredLineDiff(exp, act) }.mkString("\n") val msg = s"\nOutput from run test '$checkFile' did not match expected, output:\n$diff\n" echo(msg) |