From b6d1d402b5b6b9f62f2359578cf1fc9677aea0dd Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Fri, 13 Feb 2015 10:07:55 +0100 Subject: 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 --- tests/auto/qsourcelocation/tst_qsourcelocation.cpp | 4 ++-- 1 file 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 ) "); } } -- cgit v1.2.1