Skip to content

Commit 6e2b0ad

Browse files
author
Codeflash Bot
committed
regex only the ones for the particular function and not the whole project
1 parent 753eef9 commit 6e2b0ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/scripts/end_to_end_test_utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def validate_output(stdout: str, return_code: int, expected_improvement_pct: int
170170
return False
171171

172172
if config.expected_unit_tests is not None:
173-
unit_test_match = re.search(r"Discovered (\d+) existing unit tests", stdout)
173+
unit_test_match = re.search(r"Discovered (\d+) existing unit test file", stdout)
174174
if not unit_test_match:
175175
logging.error("Could not find unit test count")
176176
return False

0 commit comments

Comments
 (0)