summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2015-02-13 10:07:55 +0100
committerKai Koehne <kai.koehne@theqtcompany.com>2015-02-13 11:03:29 +0000
commitb6d1d402b5b6b9f62f2359578cf1fc9677aea0dd (patch)
tree1515112db5a97421e72f14f5285c7d4fc336fd11
parent8f012dd05873d33d0ce9dc7b076418cc3096106e (diff)
downloadqtxmlpatterns-b6d1d402b5b6b9f62f2359578cf1fc9677aea0dd.tar.gz
qtxmlpatterns-b6d1d402b5b6b9f62f2359578cf1fc9677aea0dd.tar.bz2
qtxmlpatterns-b6d1d402b5b6b9f62f2359578cf1fc9677aea0dd.zip
Fix broken QSourceLocation autotest
The test relied on operator<<(QDebug, const QUrl &) adding unnecessary spaces. This got fixed in qtbase commit 868201155. Change-Id: I75f71a82f6426da396c1634cecce3b21e3ca8580 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
-rw-r--r--tests/auto/qsourcelocation/tst_qsourcelocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qsourcelocation/tst_qsourcelocation.cpp b/tests/auto/qsourcelocation/tst_qsourcelocation.cpp
index 9b35d3d..ee7d0a2 100644
--- a/tests/auto/qsourcelocation/tst_qsourcelocation.cpp
+++ b/tests/auto/qsourcelocation/tst_qsourcelocation.cpp
@@ -361,14 +361,14 @@ void tst_QSourceLocation::debugStream_data() const
{
QTest::newRow("Default constructed instance")
<< QSourceLocation()
- << QString::fromLatin1("QSourceLocation( QUrl( \"\" ) , line: -1 , column: -1 ) ");
+ << QString::fromLatin1("QSourceLocation( QUrl(\"\") , line: -1 , column: -1 ) ");
}
{
QSourceLocation location(QUrl(QLatin1String("http://example.com/")), 4, 5);
QTest::newRow("Properties set")
<< location
- << QString::fromLatin1("QSourceLocation( QUrl( \"http://example.com/\" ) , line: 4 , column: 5 ) ");
+ << QString::fromLatin1("QSourceLocation( QUrl(\"http://example.com/\") , line: 4 , column: 5 ) ");
}
}