forked from qt-creator/qt-creator
LanguageClient: Make sure to run callback in all code paths
... when receiving a reply for textDocument/definition. Change-Id: I08f3a22f7c39a33b7b84539125a76d0c0d625692 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -506,9 +506,6 @@ void ClangdTestLocalReferences::test()
|
||||
client()->findLocalUsages(doc, cursor, std::move(handler));
|
||||
timer.start(10000);
|
||||
loop.exec();
|
||||
QEXPECT_FAIL("cursor not on identifier", "clangd bug: go to definition does not return", Abort);
|
||||
QEXPECT_FAIL("template parameter member access",
|
||||
"clangd bug: go to definition does not return", Abort);
|
||||
QVERIFY(timer.isActive());
|
||||
timer.stop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user