summaryrefslogtreecommitdiff
path: root/tests/manual
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2014-01-18 16:21:39 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 19:17:49 +0100
commit770ef51efa416bf939b237c2e01d7657a7dc6696 (patch)
treea8ff2668143b7fa45760aaf160f9aa6532e5fe17 /tests/manual
parent76cd00f8fdb249d866723ced0514041099f95a4b (diff)
downloadqtwebsockets-770ef51efa416bf939b237c2e01d7657a7dc6696.tar.gz
Remove dubious functions
Change-Id: Ida5c46e3e42685f5e78f2aee657d12af62286810 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/websockets/tst_websockets.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/manual/websockets/tst_websockets.cpp b/tests/manual/websockets/tst_websockets.cpp
index e0fbc09..978520d 100644
--- a/tests/manual/websockets/tst_websockets.cpp
+++ b/tests/manual/websockets/tst_websockets.cpp
@@ -134,8 +134,7 @@ void tst_WebSocketsTest::testTextMessage()
QSignalSpy spy(m_pWebSocket, SIGNAL(textMessageReceived(QString)));
- QCOMPARE(m_pWebSocket->write(message), qint64(message.size()));
-
+ QCOMPARE(m_pWebSocket->write(message), qint64(message.length()));
QTRY_VERIFY_WITH_TIMEOUT(spy.count() != 0, 1000);
QCOMPARE(spy.count(), 1);
QCOMPARE(spy.at(0).count(), 1);