diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-10-31 00:47:21 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-10-31 00:47:21 -0700 |
| commit | 475f4c8abfdd9c88b585105c48839f51d7523d57 (patch) | |
| tree | f6fa693cd20d1f419ec5a1af0b60ffb798b68b4c /tests/reqrep.c | |
| parent | b92320b9afe3771465514286db6ee6746ba512d8 (diff) | |
| download | nng-475f4c8abfdd9c88b585105c48839f51d7523d57.tar.gz nng-475f4c8abfdd9c88b585105c48839f51d7523d57.tar.bz2 nng-475f4c8abfdd9c88b585105c48839f51d7523d57.zip | |
fixes #137 Remove public access to numeric protocols
Diffstat (limited to 'tests/reqrep.c')
| -rw-r--r-- | tests/reqrep.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/reqrep.c b/tests/reqrep.c index ada21875..df0621bc 100644 --- a/tests/reqrep.c +++ b/tests/reqrep.c @@ -23,11 +23,6 @@ TestMain("REQ/REP pattern", { Reset({ nng_close(req); }); - Convey("Protocols match", { - So(nng_protocol(req) == NNG_PROTO_REQ); - So(nng_peer(req) == NNG_PROTO_REP); - }); - Convey("Resend time option id works", { // Set timeout. @@ -51,11 +46,6 @@ TestMain("REQ/REP pattern", { Reset({ nng_close(rep); }); - Convey("Protocols match", { - So(nng_protocol(rep) == NNG_PROTO_REP); - So(nng_peer(rep) == NNG_PROTO_REQ); - }); - Convey("Send with no recv fails", { nng_msg *msg; rv = nng_msg_alloc(&msg, 0); |
