Complete fix of GitLab issue #64: Coverage summary looks wrong
This commit is contained in:
parent
83c32598be
commit
f53476f826
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue