We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd93b46 commit daa6891Copy full SHA for daa6891
compiler/test/dotty/tools/vulpix/ParallelTesting.scala
@@ -984,10 +984,10 @@ trait ParallelTesting extends RunnerOrchestration { self =>
984
985
cleanup()
986
987
- if (!shouldFail && test.didFail) {
+ if (shouldFail && !test.didFail) {
988
fail(s"Neg test shouldn't have failed, but did. Reasons:\n${ reasonsForFailure(test) }")
989
}
990
- else if (shouldFail && !test.didFail) {
+ else if (!shouldFail && test.didFail) {
991
fail("Neg test should have failed, but did not")
992
993
0 commit comments