File tree 1 file changed +10
-5
lines changed
compiler/test/dotty/tools/vulpix
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -472,11 +472,16 @@ trait ParallelTesting extends RunnerOrchestration { self =>
472
472
val outputLines = reporter.writer.toString.trim.replaceAll(" \\ s+\n " , " \n " )
473
473
474
474
if (outputLines != checkLines) {
475
- val msg = s " Output from ' ${source.title}' did not match check file ' ${checkFile.getName}'. "
476
- println(" ===============================" )
477
- println(" expected: \n " + checkLines)
478
- println(" actual: \n " + outputLines)
479
- println(" ===============================" )
475
+ val msg =
476
+ s """ |Output from ' ${source.title}' did not match check file ' ${checkFile.getName}'.
477
+ |-------------------------------------
478
+ |expected:
479
+ | $checkLines
480
+ |
481
+ |actual:
482
+ | $outputLines
483
+ |-------------------------------------
484
+ """ .stripMargin
480
485
481
486
echo(msg)
482
487
addFailureInstruction(msg)
You can’t perform that action at this time.
0 commit comments