aboutsummaryrefslogtreecommitdiff
path: root/tests/sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sock.c')
-rw-r--r--tests/sock.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/sock.c b/tests/sock.c
index 29043cb3..3792090b 100644
--- a/tests/sock.c
+++ b/tests/sock.c
@@ -403,11 +403,6 @@ TestMain("Socket Operations", {
So(nng_dialer_setopt(ep, NNG_OPT_RECVMAXSZ,
"a", 1) == NNG_EINVAL);
});
- Convey("Cannot listen", {
- nng_listener l;
- l.id = ep.id;
- So(nng_listener_start(l, 0) == NNG_ENOTSUP);
- });
});
Convey("Listener creation ok", {
@@ -452,11 +447,6 @@ TestMain("Socket Operations", {
So(nng_listener_setopt(ep, NNG_OPT_RECVMAXSZ,
"a", 1) == NNG_EINVAL);
});
- Convey("Cannot dial", {
- nng_dialer d;
- d.id = ep.id;
- So(nng_dialer_start(d, 0) == NNG_ENOTSUP);
- });
});
Convey("Cannot access absent ep options", {