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:
Christian Kandeler
2020-09-22 12:25:11 +02:00
parent cc16187444
commit 569d5ca4da

View File

@@ -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)