Skip to content

Commit

Permalink
Merge pull request #5993 from michelou/string-api
Browse files Browse the repository at this point in the history
Follow-up of issue #5463 (String API change in JDK 11)
  • Loading branch information
allanrenucci authored Feb 27, 2019
2 parents f409c88 + b99f41c commit dbe94b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/test/dotty/tools/vulpix/ParallelTesting.scala
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>

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

0 comments on commit dbe94b3

Please sign in to comment.