Fixed error in test suite when run on Windows.

This commit is contained in:
Nathan Osman
2015-07-01 15:16:33 -07:00
parent 3ce83a8092
commit 35c3ed9add

View File

@@ -61,7 +61,7 @@ void TestQHttpServer::testServer()
DummyHandler handler;
QHttpServer server(&handler);
QVERIFY(server.listen());
QVERIFY(server.listen(QHostAddress::LocalHost));
QTcpSocket socket;
socket.connectToHost(server.address(), server.port());