mirror of
https://github.com/verilator/verilator.git
synced 2024-12-29 10:47:34 +00:00
Tests: Fix file_grep_count() error message (#5550)
This commit is contained in:
parent
549dd31224
commit
d3d45c0be5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user