diff --git a/scripts/gate_changed_coverage.py b/scripts/gate_changed_coverage.py index 7e2dbab..1b83625 100644 --- a/scripts/gate_changed_coverage.py +++ b/scripts/gate_changed_coverage.py @@ -29,7 +29,7 @@ def uncovered(lcov: str, wanted: set[str]) -> dict[str, list[int] | None]: current = None elif line.startswith("DA:") and current is not None: num, hits = line[3:].split(",")[:2] - if int(hits) == 0: + if not int(hits): (result[current] or []).append(int(num)) return result