From ea321c5367c2515db0212128be88f97977996caf Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 23 Oct 2018 11:41:35 +0200 Subject: [PATCH] Make the output a list to be able to consume it twice Some modifications to the code made it an iterator. The checks where performed correctly but the output for the diff where empty. --- compiler/test/dotty/tools/vulpix/ParallelTesting.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/test/dotty/tools/vulpix/ParallelTesting.scala b/compiler/test/dotty/tools/vulpix/ParallelTesting.scala index 5e0336be6cdb..d770e92e5f45 100644 --- a/compiler/test/dotty/tools/vulpix/ParallelTesting.scala +++ b/compiler/test/dotty/tools/vulpix/ParallelTesting.scala @@ -537,7 +537,7 @@ trait ParallelTesting extends RunnerOrchestration { self => val output = Source.fromFile(outDir.getParent + "_decompiled" + JFile.separator + outDir.getName + JFile.separator + "decompiled.scala").getLines().map {line => stripTrailingWhitespaces.unapplySeq(line).map(_.head).getOrElse(line) - } + }.toList val check: String = Source.fromFile(checkFile).getLines().filter(!_.startsWith(ignoredFilePathLine)) .mkString("\n")