From f53476f82624231425cf381906952ecabbdb52d7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 8 Mar 2023 22:55:12 -0500 Subject: [PATCH] Complete fix of GitLab issue #64: Coverage summary looks wrong --- tests/coverage_dungeon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/coverage_dungeon.py b/tests/coverage_dungeon.py index d484193..80102e3 100755 --- a/tests/coverage_dungeon.py +++ b/tests/coverage_dungeon.py @@ -158,7 +158,7 @@ def arb_coverage(arb_msgs, text, report): if name not in report["messages"]: report["messages"][name] = {"covered" : False} report["total"] += 1 - if not report["messages"][name]["covered"] and search(message, text) or name in DANGLING_MESSAGES: + if not report["messages"][name]["covered"] and (search(message, text) or name in DANGLING_MESSAGES): report["messages"][name]["covered"] = True report["covered"] += 1 -- 2.31.1