aboutsummaryrefslogtreecommitdiff
path: root/tests/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/event.c')
-rw-r--r--tests/event.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/event.c b/tests/event.c
index 766ef3ad..ab42203b 100644
--- a/tests/event.c
+++ b/tests/event.c
@@ -69,6 +69,8 @@ bump(nng_event *ev, void *arg)
Main({
const char *addr = "inproc://test";
+ nni_init();
+
Test("Event Handling", {
Convey("Given a connected pair of pair sockets", {
nng_socket *sock1;
@@ -129,4 +131,6 @@ Main({
})
})
})
+
+ nni_fini();
})