From af6741b5f27688d4f088216bd0fe369473657395 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Wed, 9 Nov 2022 13:02:54 +0100 Subject: [PATCH] SquishTests: Update tst_basic_cpp_support While the old code model used to jump to the "extern" line, clangd jumps directly to the linked variable. Change-Id: I2817d87697b6040afdd538e8e15b4b40ef17e124 Reviewed-by: Christian Stenger --- tests/system/suite_editors/tst_basic_cpp_support/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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