We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 744141a + c984194 commit 9717a1eCopy full SHA for 9717a1e
src/main/scala/scoverage/ScoverageSbtPlugin.scala
@@ -144,7 +144,7 @@ class ScoverageSbtPlugin extends sbt.Plugin {
144
145
// check for default minimum
146
if (min > 0) {
147
- if (min < coverage.statementCoverage) {
+ if (min > coverage.statementCoverage) {
148
s.log.error(s"[scoverage] Coverage is below minimum [${coverage.statementCoverageFormatted}% < $min%]")
149
if (failOnMin)
150
throw new RuntimeException("Coverage minimum was not reached")
0 commit comments