diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-05-15 15:43:10 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-15 18:06:15 -0700 |
| commit | f69b4c1da69d1e9c513ad63da488a49b6b46a706 (patch) | |
| tree | 8e123b695ac5e9bd320875f21055f503bbf21fda /tests/message.c | |
| parent | 959f4588a164f0a524c4a654b06fcade01f5e6d5 (diff) | |
| download | nng-f69b4c1da69d1e9c513ad63da488a49b6b46a706.tar.gz nng-f69b4c1da69d1e9c513ad63da488a49b6b46a706.tar.bz2 nng-f69b4c1da69d1e9c513ad63da488a49b6b46a706.zip | |
fixes #436 fix for 429 incomplete (ws ep crash)
While here, there is a little more endpoint termination hardening.
Running this code base seems to not incur any faults beyond the very
rare TCP port conflict that can occur from our random port selection
in the test suite.
Diffstat (limited to 'tests/message.c')
| -rw-r--r-- | tests/message.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/message.c b/tests/message.c index d680c100..e9f990ae 100644 --- a/tests/message.c +++ b/tests/message.c @@ -18,7 +18,6 @@ TestMain("Message Tests", { nng_msg *msg; Convey("Given an empty message", { - So(nng_msg_alloc(&msg, 0) == 0); Reset({ nng_msg_free(msg); }); @@ -217,7 +216,6 @@ TestMain("Message Tests", { So(nng_msg_trim_u32(msg, &v) == NNG_EINVAL); So(nng_msg_trim_u32(msg, &v) == NNG_EINVAL); }); - }); Convey("Uint32 header operations work", { @@ -249,8 +247,6 @@ TestMain("Message Tests", { So(nng_msg_header_trim_u32(msg, &v) == NNG_EINVAL); }); - }); - }); }) |
