diff options
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/websockets/tst_websockets.cpp | 3 |
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); |