aboutsummaryrefslogtreecommitdiff
path: root/tests/ws.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ws.c')
-rw-r--r--tests/ws.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/tests/ws.c b/tests/ws.c
index 753f6be9..0add1a07 100644
--- a/tests/ws.c
+++ b/tests/ws.c
@@ -8,19 +8,18 @@
// found online at https://opensource.org/licenses/MIT.
//
-#include "convey.h"
-#include "nng.h"
-#include "protocol/pair1/pair.h"
-#include "transport/ws/websocket.h"
-#include "trantest.h"
-
-#include "stubs.h"
-// TCP tests.
-
#ifndef _WIN32
#include <arpa/inet.h>
#endif
+#include <nng/nng.h>
+#include <nng/protocol/pair1/pair.h>
+#include <nng/transport/ws/websocket.h>
+
+#include "convey.h"
+#include "stubs.h"
+#include "trantest.h"
+
static int
check_props_v4(nng_msg *msg)
{
@@ -83,7 +82,6 @@ check_props_v4(nng_msg *msg)
}
TestMain("WebSocket Transport", {
-
trantest_test_extended("ws://127.0.0.1:%u/test", check_props_v4);
Convey("Empty hostname works", {