forked from qt-creator/qt-creator
C++: Add a missing newline in CheckSymbols test
Change-Id: I4c6843b5bae06f09e4b3e41eabb1b3e0e9a8b6a2 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
e78b26c5ad
commit
9e0631ea79
@@ -325,16 +325,16 @@ void tst_CheckSymbols::test_checksymbols_data()
|
|||||||
<< Use(2, 11, 1, Highlighting::FunctionUse));
|
<< Use(2, 11, 1, Highlighting::FunctionUse));
|
||||||
|
|
||||||
QTest::newRow("PseudoKeywordUse")
|
QTest::newRow("PseudoKeywordUse")
|
||||||
<< _("class D : public B {"
|
<< _("class D : public B {\n"
|
||||||
" virtual void f() override {}\n"
|
" virtual void f() override {}\n"
|
||||||
" virtual void f() final {}\n"
|
" virtual void f() final {}\n"
|
||||||
"};\n")
|
"};\n")
|
||||||
<< (UseList()
|
<< (UseList()
|
||||||
<< Use(1, 7, 1, Highlighting::TypeUse)
|
<< Use(1, 7, 1, Highlighting::TypeUse)
|
||||||
<< Use(1, 37, 1, Highlighting::VirtualMethodUse)
|
|
||||||
<< Use(1, 41, 8, Highlighting::PseudoKeywordUse)
|
|
||||||
<< Use(2, 17, 1, Highlighting::VirtualMethodUse)
|
<< Use(2, 17, 1, Highlighting::VirtualMethodUse)
|
||||||
<< Use(2, 21, 5, Highlighting::PseudoKeywordUse));
|
<< Use(2, 21, 8, Highlighting::PseudoKeywordUse)
|
||||||
|
<< Use(3, 17, 1, Highlighting::VirtualMethodUse)
|
||||||
|
<< Use(3, 21, 5, Highlighting::PseudoKeywordUse));
|
||||||
|
|
||||||
QTest::newRow("StaticUse")
|
QTest::newRow("StaticUse")
|
||||||
<< _("struct Outer\n"
|
<< _("struct Outer\n"
|
||||||
|
Reference in New Issue
Block a user