diff --git a/tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator/LcovParser.java b/tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator/LcovParser.java index 7a725b169c1482..63fb6a2dd2eab7 100644 --- a/tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator/LcovParser.java +++ b/tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator/LcovParser.java @@ -280,7 +280,7 @@ private boolean parseBRDALine(String line) { boolean wasExecuted = false; int executionCount = 0; - if (taken.equals(TAKEN)) { + if (!taken.equals(TAKEN)) { executionCount = Integer.parseInt(taken); wasExecuted = true; }