Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingDepot committed Jun 17, 2024
1 parent 8304765 commit f6a4f63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class NeverEvaluationTest {
assertTrue("There were no findings which is unexpected") { findings.isNotEmpty() }

val failFindings = findings.filter { it.kind == Finding.Kind.Fail }
assertEquals(4, failFindings.size, "Found ${failFindings.size} violation(s) instead of two violations")
assertEquals(2, failFindings.size, "Found ${failFindings.size} violation(s) instead of two violations")
}
}

Expand Down Expand Up @@ -91,7 +91,7 @@ class NeverEvaluationTest {
findings.all { it.kind == Finding.Kind.Pass }
}

assertEquals(1, findings.size, "Found ${findings.size} finding(s) instead of one pass finding")
assertEquals(4, findings.size, "Found ${findings.size} finding(s) instead of one pass finding")
}
}

Expand Down

0 comments on commit f6a4f63

Please sign in to comment.