tests: fixed compilation of tst_qtextstream
authorRohan McGovern <rohan.mcgovern@nokia.com>
Thu, 19 May 2011 00:00:47 +0000 (10:00 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Thu, 19 May 2011 00:00:47 +0000 (10:00 +1000)
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

tests/auto/qtextstream/tst_qtextstream.cpp

index 8ffab14..b086a21 100644 (file)
@@ -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));