From b05b0c07dd7b06412fd4a0cb3cc5d2e889236eff Mon Sep 17 00:00:00 2001 From: Kurt Pattyn Date: Wed, 12 Mar 2014 14:16:08 +0100 Subject: Fix unit tests Change-Id: I24091b8b976b30e8d6ef26f41530027339106243 Reviewed-by: Kurt Pattyn --- tests/auto/qwebsocket/tst_qwebsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v1.2.3