diff --git a/googletest/test/googletest-output-test.py b/googletest/test/googletest-output-test.py index 6d80d5325..1f36bc34b 100755 --- a/googletest/test/googletest-output-test.py +++ b/googletest/test/googletest-output-test.py @@ -175,7 +175,7 @@ def RemoveTestCounts(output): output = re.sub(r'\d+ tests?, listed below', '? tests, listed below', output) output = re.sub(r'\d+ FAILED TESTS', '? FAILED TESTS', output) output = re.sub( - r'\d+ tests? from \d+ test cases?', '? tests from ? test cases', output + r'\d+ tests? from \d+ test suites?', '? tests from ? test suites', output ) output = re.sub(r'\d+ tests? from ([a-zA-Z_])', r'? tests from \1', output) return re.sub(r'\d+ tests?\.', '? tests.', output)