Skip to content

Commit

Permalink
Fix bug introduced in recent attempted refactor, probably.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmonz committed Jun 28, 2024
1 parent 64ea3b2 commit 709d175
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class JUnit5Summary(testPlan: TestPlan, internal val anyTestsRed: Boolean, inter
if (other !is JUnit5Summary) {
return false
}
if (testCount == other.testCount && anyTestsRed == other.anyTestsRed && anyTestsGreen == other.anyTestsGreen) {
if (testCount == other.testCount && anyTestsGreen && !anyTestsRed) {
return true
}
return false
Expand Down

0 comments on commit 709d175

Please sign in to comment.