aboutsummaryrefslogtreecommitdiff
path: root/tests/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/udp.c')
-rw-r--r--tests/udp.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/udp.c b/tests/udp.c
index 15520791..d5f20c26 100644
--- a/tests/udp.c
+++ b/tests/udp.c
@@ -8,18 +8,17 @@
// found online at https://opensource.org/licenses/MIT.
//
-#include "convey.h"
-#include "trantest.h"
+// Basic UDP tests.
#ifndef _WIN32
#include <arpa/inet.h>
#endif
-// Basic UDP tests.
+#include "convey.h"
#include "core/nng_impl.h"
+#include "trantest.h"
TestMain("UDP support", {
-
nni_init();
atexit(nng_fini);
@@ -259,7 +258,6 @@ TestMain("UDP support", {
rv == NNG_EUNREACHABLE);
nng_aio_free(aio1);
});
-
});
Convey("Cannot open using bogus sockaddr", {