diff options
Diffstat (limited to 'tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp')
-rw-r--r-- | tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp b/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp index a34f289d..e9ad44c1 100644 --- a/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp +++ b/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp @@ -755,10 +755,8 @@ void tst_QBluetoothSocket::tst_error() QCOMPARE(errorSpy.count(), 0); const QBluetoothSocket::SocketError e = socket.error(); - QVERIFY(e != QBluetoothSocket::ConnectionRefusedError - && e != QBluetoothSocket::HostNotFoundError + QVERIFY(e != QBluetoothSocket::HostNotFoundError && e != QBluetoothSocket::NetworkError - && e != QBluetoothSocket::RemoteHostClosedError && e != QBluetoothSocket::ServiceNotFoundError && e != QBluetoothSocket::UnknownSocketError); |