Tests: Fix file_grep_count() error message (#5550)

This commit is contained in:
Todd Strader
2024-10-23 10:07:03 -04:00
committed by GitHub
parent 549dd31224
commit d3d45c0be5
+2 -2
View File
@@ -2459,8 +2459,8 @@ class VlTest:
return
count = len(re.findall(regexp, contents))
if expcount != count:
self.error("File_grep_count: " + filename + ": Got='" + count + "' Expected='" +
expcount + "' in regexp: '" + regexp + "'")
self.error("File_grep_count: " + filename + ": Got='" + str(count) + "' Expected='" +
str(expcount) + "' in regexp: '" + regexp + "'")
def file_grep_any(self, filenames: list, regexp, expvalue=None) -> None:
for filename in filenames: