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 @@ -449,11 +449,16 @@ trait ParallelTesting extends RunnerOrchestration { self =>
449
449
val outputLines = reporter.writer.toString.trim.replaceAll(" \\ s+\n " , " \n " )
450
450
451
451
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
457
462
458
463
echo(msg)
459
464
addFailureInstruction(msg)
You can’t perform that action at this time.
0 commit comments