Skip to content

Commit b843332

Browse files
committed
Vulpix: Allow warn tests to have no warnings
1 parent 9c92162 commit b843332

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/test/dotty/tools/vulpix/ParallelTesting.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,8 +741,6 @@ trait ParallelTesting extends RunnerOrchestration { self =>
741741
s"""Compilation failed for: ${testSource.title}
742742
|$showDiagnostics
743743
|""".stripMargin.trim.linesIterator.mkString("\n", "\n", "")
744-
else if obtCount == 0 then s"\nNo warnings found when compiling warn test $testSource"
745-
else if expCount == 0 then s"\nNo warning expected/defined in $testSource -- use // warn"
746744
else if expCount != obtCount then
747745
s"""|Wrong number of warnings encountered when compiling $testSource
748746
|expected: $expCount, actual: $obtCount

0 commit comments

Comments
 (0)