Skip to content

Commit dbe94b3

Browse files
authored
Merge pull request #5993 from michelou/string-api
Follow-up of issue #5463 (String API change in JDK 11)
2 parents f409c88 + b99f41c commit dbe94b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
776776

777777
def reporterOutputLines(reporters: List[TestReporter]): List[String] = {
778778
reporters.flatMap(_.allErrors).sortBy(_.pos.source.toString).flatMap { error =>
779-
(error.pos.span.toString + " in " + error.pos.source.file.name) :: error.getMessage().lines.toList
779+
(error.pos.span.toString + " in " + error.pos.source.file.name) :: error.getMessage().linesIterator.toList
780780
}
781781
}
782782
def checkFileTest(sourceName: String, checkFile: JFile, actual: List[String]) = {

0 commit comments

Comments
 (0)