diff --git a/test/teststl.cpp b/test/teststl.cpp index cc8ba3168..c7e28d283 100644 --- a/test/teststl.cpp +++ b/test/teststl.cpp @@ -5513,7 +5513,7 @@ private: " QString s;\n" "public:\n" " C(QString);\n" - "private slots:\n" + "private:\n" " void f() {\n" " QVERIFY(QDir(s).exists());\n" " }\n" diff --git a/test/testsymboldatabase.cpp b/test/testsymboldatabase.cpp index 6c664e169..159c4a7e9 100644 --- a/test/testsymboldatabase.cpp +++ b/test/testsymboldatabase.cpp @@ -2859,7 +2859,7 @@ private: void symboldatabase2() { check("class foo {\n" - "public slots :\n" + "public:\n" "foo() { }\n" "};"); ASSERT_EQUALS("", errout.str());