forked from qt-creator/qt-creator
C++ unit test: Another clang 11 adaptation
This was probably a bug in clang 10: The amount of whitespace after the operator should not matter. Change-Id: If161a7b2f60ee932bef19edb9fe71aac31be3c8b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -545,7 +545,7 @@ TEST_F(CodeCompleterSlowTest, GlobalCompletionAfterForwardDeclaredClassPointer)
|
|||||||
auto myCompleter = setupCompleter(globalCompletionAfterForwardDeclaredClassPointer);
|
auto myCompleter = setupCompleter(globalCompletionAfterForwardDeclaredClassPointer);
|
||||||
const ClangBackEnd::CodeCompletions completions = myCompleter.complete(6, 4);
|
const ClangBackEnd::CodeCompletions completions = myCompleter.complete(6, 4);
|
||||||
|
|
||||||
ASSERT_TRUE(!completions.isEmpty());
|
ASSERT_EQ(completions.isEmpty(), CINDEX_VERSION_MINOR != 59);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(CodeCompleterSlowTest, ConstructorCompletionExists)
|
TEST_F(CodeCompleterSlowTest, ConstructorCompletionExists)
|
||||||
|
Reference in New Issue
Block a user