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/pipeline.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/pipeline.c')
| -rw-r--r-- | tests/pipeline.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/pipeline.c b/tests/pipeline.c index 31f02798..67be57c6 100644 --- a/tests/pipeline.c +++ b/tests/pipeline.c @@ -28,11 +28,6 @@ TestMain("PIPELINE (PUSH/PULL) pattern", { Reset({ nng_close(push); }); - Convey("Protocols match", { - So(nng_protocol(push) == NNG_PROTO_PUSH); - So(nng_peer(push) == NNG_PROTO_PULL); - }); - Convey("Recv fails", { nng_msg *msg; So(nng_recvmsg(push, &msg, 0) == NNG_ENOTSUP); @@ -45,11 +40,6 @@ TestMain("PIPELINE (PUSH/PULL) pattern", { Reset({ nng_close(pull); }); - Convey("Protocols match", { - So(nng_protocol(pull) == NNG_PROTO_PULL); - So(nng_peer(pull) == NNG_PROTO_PUSH); - }); - Convey("Send fails", { nng_msg *msg; So(nng_msg_alloc(&msg, 0) == 0); |
