diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-30 12:35:07 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-30 12:39:43 (GMT) |
commit | efc7c605c5f561a75a718f8186e470bd24a18b4e (patch) | |
tree | 83aa9abedf6b4a5a7cc0d47bf644883ad886012a /tests/auto/qsharedpointer | |
parent | e1851f3246fe307830173573fbbcf013e8a1b1e8 (diff) | |
download | Qt-efc7c605c5f561a75a718f8186e470bd24a18b4e.zip Qt-efc7c605c5f561a75a718f8186e470bd24a18b4e.tar.gz Qt-efc7c605c5f561a75a718f8186e470bd24a18b4e.tar.bz2 |
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/auto/qsharedpointer')
-rw-r--r-- | tests/auto/qsharedpointer/externaltests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qsharedpointer/externaltests.cpp b/tests/auto/qsharedpointer/externaltests.cpp index d1618d1..6542350 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) |