Skip to content

Commit 86e5c12

Browse files
authored
Merge pull request #5314 from dotty-staging/fix-from-tasty-test-output
Make the output a list to be able to consume it twice
2 parents 2167869 + ea321c5 commit 86e5c12

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)