Fix tst_QNetworkReply::qtbug45581WrongReplyStatusCode() on Windows
The file is read using CRLF line convention on Windows. Task-number: QTBUG-24226 Change-Id: Ie08fa603e29c80a42de4bfbfd1f4237f53c22b98 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>bb10
parent
df9aee2150
commit
2714d94ff4
|
|
@ -7295,7 +7295,11 @@ void tst_QNetworkReply::qtbug45581WrongReplyStatusCode()
|
|||
|
||||
const QByteArray expectedContent =
|
||||
"<root attr=\"value\" attr2=\"value2\">"
|
||||
"<person /><fruit /></root>\n";
|
||||
"<person /><fruit /></root>"
|
||||
#ifdef Q_OS_WIN
|
||||
"\r"
|
||||
#endif
|
||||
"\n";
|
||||
|
||||
QCOMPARE(reply->readAll(), expectedContent);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue