Skip to content

Commit ea321c5

Browse files
committed
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.
1 parent 5a76013 commit ea321c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/vulpix/ParallelTesting.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
537537
val output = Source.fromFile(outDir.getParent + "_decompiled" + JFile.separator + outDir.getName
538538
+ JFile.separator + "decompiled.scala").getLines().map {line =>
539539
stripTrailingWhitespaces.unapplySeq(line).map(_.head).getOrElse(line)
540-
}
540+
}.toList
541541

542542
val check: String = Source.fromFile(checkFile).getLines().filter(!_.startsWith(ignoredFilePathLine))
543543
.mkString("\n")

0 commit comments

Comments
 (0)