From: Rohan McGovern Date: Thu, 19 May 2011 00:00:47 +0000 (+1000) Subject: tests: fixed compilation of tst_qtextstream X-Git-Tag: qt-v5.0.0-alpha1~4294^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a6a58a95af31816627550c573c1b2ac39fc404e;p=profile%2Fivi%2Fqtbase.git tests: fixed compilation of tst_qtextstream Compilation of this autotest was broken by a strange qmake bug, QTBUG-19393. Work around it by putting a space between two string literals. Change-Id: I494c486dd11858eeaf98d7a04021c74fcf3cbba7 --- diff --git a/tests/auto/qtextstream/tst_qtextstream.cpp b/tests/auto/qtextstream/tst_qtextstream.cpp index 8ffab14..b086a21 100644 --- a/tests/auto/qtextstream/tst_qtextstream.cpp +++ b/tests/auto/qtextstream/tst_qtextstream.cpp @@ -2580,7 +2580,7 @@ void tst_QTextStream::readBomSeekBackReadBomAgain() QFile::remove("utf8bom"); QFile file("utf8bom"); QVERIFY(file.open(QFile::ReadWrite)); - file.write("\xef\xbb\xbf""Andreas"); + file.write("\xef\xbb\xbf" "Andreas"); file.seek(0); QCOMPARE(file.pos(), qint64(0));