Skip to content

Commit 6dcd289

Browse files
Chan Chak ShingChan Chak Shing
authored andcommitted
Fix a small bug which every problem get printed twice
1 parent 44a11df commit 6dcd289

File tree

1 file changed

+2
-1
lines changed
  • test/rules/src/https_everywhere_checker

1 file changed

+2
-1
lines changed

test/rules/src/https_everywhere_checker/rules.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ def getCoverageProblems(self):
245245
Returns an array of strings reporting any coverage problems if they exist,
246246
or empty list if coverage is sufficient.
247247
"""
248-
problems = self._determineTestApplication()
248+
self._determineTestApplication()
249+
problems = []
249250

250251
# First, check each target has the right number of tests
251252
myTestTargets = []

0 commit comments

Comments
 (0)