aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2022-11-15 09:49:39 +0100
committerChristian Stenger <christian.stenger@qt.io>2022-12-14 05:06:25 +0000
commit75177f4c342220e0c0dbb3f73a261d8e1fac12a6 (patch)
tree17995f86ba69a993d1fda777af021a41475361e7
parent938231cf0d94f6ff3e3e5ad86ef1f962969d38ce (diff)
SquishTests: Expect some more error message
Change-Id: I33f359673e6d23f0188072db891db08dafa72ace Reviewed-by: Robert Löhning <robert.loehning@qt.io>
-rw-r--r--tests/system/suite_editors/tst_memberoperator/test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/system/suite_editors/tst_memberoperator/test.py b/tests/system/suite_editors/tst_memberoperator/test.py
index 18d5547f32..2e9980bf2b 100644
--- a/tests/system/suite_editors/tst_memberoperator/test.py
+++ b/tests/system/suite_editors/tst_memberoperator/test.py
@@ -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