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
This commit is contained in:
Rohan McGovern 2011-05-19 10:00:47 +10:00
parent 449b8a9317
commit 9a6a58a95a

View File

@ -2580,7 +2580,7 @@ void tst_QTextStream::readBomSeekBackReadBomAgain()
QFile::remove("utf8bom"); QFile::remove("utf8bom");
QFile file("utf8bom"); QFile file("utf8bom");
QVERIFY(file.open(QFile::ReadWrite)); QVERIFY(file.open(QFile::ReadWrite));
file.write("\xef\xbb\xbf""Andreas"); file.write("\xef\xbb\xbf" "Andreas");
file.seek(0); file.seek(0);
QCOMPARE(file.pos(), qint64(0)); QCOMPARE(file.pos(), qint64(0));