summaryrefslogtreecommitdiff
path: root/tests/auto/handshakerequest
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2014-01-18 22:02:11 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 18:26:48 +0100
commit76cd00f8fdb249d866723ced0514041099f95a4b (patch)
tree11f9467e82926a6f62ae61c76b4e2888ab8b46bd /tests/auto/handshakerequest
parent196617e5fb4f93655bbecea221b2dd350411fcae (diff)
downloadqtwebsockets-76cd00f8fdb249d866723ced0514041099f95a4b.tar.gz
Use QStringLiteral where appropriate
Change-Id: I608b555428aceafd7761a882cd4bd1fdb50d19b3 Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'tests/auto/handshakerequest')
-rw-r--r--tests/auto/handshakerequest/tst_handshakerequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/handshakerequest/tst_handshakerequest.cpp b/tests/auto/handshakerequest/tst_handshakerequest.cpp
index db5ec3c..45fd5d4 100644
--- a/tests/auto/handshakerequest/tst_handshakerequest.cpp
+++ b/tests/auto/handshakerequest/tst_handshakerequest.cpp
@@ -162,7 +162,7 @@ void tst_HandshakeRequest::tst_invalidStream_data()
QTest::newRow("Invalid http version in header") << QStringLiteral("V R HTTP/invalid");
QTest::newRow("Empty header field") << QStringLiteral("GET . HTTP/1.1\r\nHEADER: ");
QTest::newRow("All zeros") << QString::fromUtf8(QByteArray(10, char(0)));
- QTest::newRow("Invalid hostname") << "GET . HTTP/1.1\r\nHost: \xFF\xFF";
+ QTest::newRow("Invalid hostname") << QStringLiteral("GET . HTTP/1.1\r\nHost: \xFF\xFF");
//doing extensive QStringLiteral concatenations here, because
//MSVC 2010 complains when using concatenation literal strings about
//concatenation of wide and narrow strings (error C2308)