summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2014-03-12 14:16:08 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-12 14:16:49 +0100
commitb05b0c07dd7b06412fd4a0cb3cc5d2e889236eff (patch)
tree6265cc458ec5501d2600ea4f1ad5729b806dbe83
parent699f772bffab3ae0a6399f56d7154e333a273d6c (diff)
downloadqtwebsockets-b05b0c07dd7b06412fd4a0cb3cc5d2e889236eff.tar.gz
Fix unit tests
Change-Id: I24091b8b976b30e8d6ef26f41530027339106243 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
-rw-r--r--tests/auto/qwebsocket/tst_qwebsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qwebsocket/tst_qwebsocket.cpp b/tests/auto/qwebsocket/tst_qwebsocket.cpp
index d2c5055..9e5997e 100644
--- a/tests/auto/qwebsocket/tst_qwebsocket.cpp
+++ b/tests/auto/qwebsocket/tst_qwebsocket.cpp
@@ -298,7 +298,7 @@ void tst_QWebSocket::tst_invalidOpen()
//at this point the socket is in a connecting state
//so, there should no error at this point
QCOMPARE(socket.error(), QAbstractSocket::UnknownSocketError);
- //QVERIFY(socket.errorString().isEmpty());
+ QVERIFY(!socket.errorString().isEmpty());
QVERIFY(!socket.isValid());
QVERIFY(socket.localAddress().isNull());
QCOMPARE(socket.localPort(), quint16(0));