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.
2 parents f86c6ed + daa6891 commit 3b7322fCopy full SHA for 3b7322f
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