summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-07-30 14:35:07 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-30 14:39:43 +0200
commitefc7c605c5f561a75a718f8186e470bd24a18b4e (patch)
tree83aa9abedf6b4a5a7cc0d47bf644883ad886012a /tests
parente1851f3246fe307830173573fbbcf013e8a1b1e8 (diff)
Autotest: add a newline after the user program headers.
If the user forgot to end their headers with a newline, the compilation would fail because the next line is #include <QtCore/QtCore>. Reviewed-by: Jesper Thomschütz
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qsharedpointer/externaltests.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qsharedpointer/externaltests.cpp b/tests/auto/qsharedpointer/externaltests.cpp
index d1618d13dd..6542350ff5 100644
--- a/tests/auto/qsharedpointer/externaltests.cpp
+++ b/tests/auto/qsharedpointer/externaltests.cpp
@@ -324,6 +324,7 @@ namespace QTest {
sourceCode.reserve(8192);
sourceCode += programHeader;
+ sourceCode += '\n';
// Add Qt header includes
if (qtModules & QExternalTest::QtCore)