SquishTests: Expect some more error message

Change-Id: I33f359673e6d23f0188072db891db08dafa72ace
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2022-11-15 09:49:39 +01:00
parent 938231cf0d
commit 75177f4c34

View File

@@ -31,6 +31,8 @@ def __syntaxErrorDetected__():
"Expected ';' at end of declaration (fix available)",
"Use of undeclared identifier 'syntaxError'"]:
return True
if re.match(issue[3], "Declaration of reference variable '.+' requires an initializer"):
return True
return False