aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_editors/tst_memberoperator/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/suite_editors/tst_memberoperator/test.py')
-rw-r--r--tests/system/suite_editors/tst_memberoperator/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/suite_editors/tst_memberoperator/test.py b/tests/system/suite_editors/tst_memberoperator/test.py
index ba1f147685..4d11465b71 100644
--- a/tests/system/suite_editors/tst_memberoperator/test.py
+++ b/tests/system/suite_editors/tst_memberoperator/test.py
@@ -27,11 +27,11 @@ def __noBuildIssues__():
def __syntaxErrorDetected__():
buildIssues = getBuildIssues(False)
for issue in buildIssues:
- if issue[3] in ["Expected ';' after expression (fix available)",
+ if issue[0] in ["Expected ';' after expression (fix available)",
"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"):
+ if re.match(issue[0], "Declaration of reference variable '.+' requires an initializer"):
return True
return False