diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-02-13 10:07:55 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-02-13 11:03:29 +0000 |
commit | b6d1d402b5b6b9f62f2359578cf1fc9677aea0dd (patch) | |
tree | 1515112db5a97421e72f14f5285c7d4fc336fd11 /tests | |
parent | 8f012dd05873d33d0ce9dc7b076418cc3096106e (diff) | |
download | qtxmlpatterns-b6d1d402b5b6b9f62f2359578cf1fc9677aea0dd.tar.gz |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qsourcelocation/tst_qsourcelocation.cpp | 4 |
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 ) "); } } |