diff --git a/tests/system/suite_editors/tst_basic_cpp_support/test.py b/tests/system/suite_editors/tst_basic_cpp_support/test.py index b5af8467280..f68fc9d4fbe 100644 --- a/tests/system/suite_editors/tst_basic_cpp_support/test.py +++ b/tests/system/suite_editors/tst_basic_cpp_support/test.py @@ -45,7 +45,7 @@ def main(): type(waitForObject(":*Qt Creator.findEdit_Utils::FilterLineEdit"), " xi") type(waitForObject(":*Qt Creator.findEdit_Utils::FilterLineEdit"), "") __typeAndWaitForAction__(waitForCppEditor(), "") - test.compare(lineUnderCursor(waitForCppEditor()), "extern int xi;") + test.compare(lineUnderCursor(waitForCppEditor()), "int xi = 10;") # - Move the cursor to a function call. # - Press F2 or select from the menu: Tools / C++ / Follow Symbol under Cursor