Skip to content

Commit b0ed7fe

Browse files
vojta7tkruse
authored andcommitted
Fix broken tests
1 parent e960322 commit b0ed7fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpplint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,9 +1126,9 @@ def FormatJUnitXML(self):
11261126
num_failures = len(self._junit_failures)
11271127

11281128
testsuite = xml.etree.ElementTree.Element('testsuite')
1129-
testsuite.attrib['name'] = 'cpplint'
11301129
testsuite.attrib['errors'] = str(num_errors)
11311130
testsuite.attrib['failures'] = str(num_failures)
1131+
testsuite.attrib['name'] = 'cpplint'
11321132

11331133
if num_errors == 0 and num_failures == 0:
11341134
testsuite.attrib['tests'] = str(1)

0 commit comments

Comments
 (0)