From f69b4c1da69d1e9c513ad63da488a49b6b46a706 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 15 May 2018 15:43:10 -0700 Subject: 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. --- tests/message.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests') 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); }); - }); - }); }) -- cgit v1.2.3-70-g09d2