File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
compiler/test/dotty/tools/vulpix Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -761,7 +761,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
761761
762762 def reporterOutputLines (reporter : TestReporter ): List [String ] = {
763763 reporter.allErrors.flatMap { error =>
764- (error.pos.span.toString + " in " + error.pos.source.file.name) :: error.getMessage().split( " \n " ) .toList
764+ (error.pos.span.toString + " in " + error.pos.source.file.name) :: error.getMessage().lines .toList
765765 }
766766 }
767767 def checkFileTest (sourceName : String , checkFile : JFile , actual : List [String ]) = {
@@ -851,9 +851,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
851851
852852 def diffMessage (sourceTitle : String , outputLines : Seq [String ], checkLines : Seq [String ]): Option [String ] = {
853853 def linesMatch =
854- outputLines
855- .zip(checkLines)
856- .forall { case (x, y) => x == y }
854+ (outputLines, checkLines).zipped.forall(_ == _)
857855
858856 if (outputLines.length != checkLines.length || ! linesMatch) {
859857 // Print diff to files and summary:
You can’t perform that action at this time.
0 commit comments