forked from qt-creator/qt-creator
Clang: Adapt plugin test testCompleteWithDotToArrowCorrection
Change-Id: Ibc272eb768f6d92c4b02c3164f7171fc769cfd41 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -603,7 +603,7 @@ void ClangCodeCompletionTest::testCompleteWithDotToArrowCorrection()
|
|||||||
ProjectLessCompletionTest t("dotToArrowCorrection.cpp",
|
ProjectLessCompletionTest t("dotToArrowCorrection.cpp",
|
||||||
QStringLiteral(".")); // See above "Explicitly Inserting The Dot"
|
QStringLiteral(".")); // See above "Explicitly Inserting The Dot"
|
||||||
|
|
||||||
QVERIFY(hasItem(t.proposal, "member (requires to correct [4:8-4:9] to \"->\")"));
|
QVERIFY(hasItem(t.proposal, "member"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ClangCodeCompletionTest::testDontCompleteWithDotToArrowCorrectionForFloats()
|
void ClangCodeCompletionTest::testDontCompleteWithDotToArrowCorrectionForFloats()
|
||||||
|
Reference in New Issue
Block a user