diff options
Diffstat (limited to 'tests/pubsub.c')
| -rw-r--r-- | tests/pubsub.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/pubsub.c b/tests/pubsub.c index e79c3f1d..a8209a7d 100644 --- a/tests/pubsub.c +++ b/tests/pubsub.c @@ -30,11 +30,6 @@ TestMain("PUB/SUB pattern", { Reset({ nng_close(pub); }); - Convey("Protocols match", { - So(nng_protocol(pub) == NNG_PROTO_PUB); - So(nng_peer(pub) == NNG_PROTO_SUB); - }); - Convey("Recv fails", { nng_msg *msg; So(nng_recvmsg(pub, &msg, 0) == NNG_ENOTSUP); @@ -47,11 +42,6 @@ TestMain("PUB/SUB pattern", { Reset({ nng_close(sub); }); - Convey("Protocols match", { - So(nng_protocol(sub) == NNG_PROTO_SUB); - So(nng_peer(sub) == NNG_PROTO_PUB); - }); - Convey("Send fails", { nng_msg *msg; So(nng_msg_alloc(&msg, 0) == 0); |
