File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
compiler/test/dotty/tools/vulpix Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -449,11 +449,16 @@ trait ParallelTesting extends RunnerOrchestration { self =>
449449 val outputLines = reporter.writer.toString.trim.replaceAll(" \\ s+\n " , " \n " )
450450
451451 if (outputLines != checkLines) {
452- val msg = s " Output from ' ${source.title}' did not match check file ' ${checkFile.getName}'. "
453- println(" ===============================" )
454- println(" expected: \n " + checkLines)
455- println(" actual: \n " + outputLines)
456- println(" ===============================" )
452+ val msg =
453+ s """ |Output from ' ${source.title}' did not match check file ' ${checkFile.getName}'.
454+ |-------------------------------------
455+ |expected:
456+ | $checkLines
457+ |
458+ |actual:
459+ | $outputLines
460+ |-------------------------------------
461+ """ .stripMargin
457462
458463 echo(msg)
459464 addFailureInstruction(msg)
You can’t perform that action at this time.
0 commit comments