summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-24 20:10:30 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-03-24 20:10:41 +0100
commit21946e8f5dbc0c7128ac82991017ec6d4c99d0d1 (patch)
tree07248846ddfb8ba0ac8cae7fef0a4b7f59ee5503
parent8b8cd938173b2c1ef1f836a613691bd9e6789b76 (diff)
cosmetic: gsm0808_test: drop extraneous assertion
Recent commit I77cd4b9142510c6914298b720d9c19ab68f9ebef left an obsolete assertion around. It is already done in the if-body now. Change-Id: I1bb2ea363e8a9d86b24338df3584abc93ebc6dd4
-rw-r--r--tests/gsm0808/gsm0808_test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/gsm0808/gsm0808_test.c b/tests/gsm0808/gsm0808_test.c
index 4bf61e78..9730be2d 100644
--- a/tests/gsm0808/gsm0808_test.c
+++ b/tests/gsm0808/gsm0808_test.c
@@ -1045,7 +1045,6 @@ static void test_gsm0808_enc_dec_cell_id_list_multi_global()
printf("expect: %s\n", osmo_hexdump(cil_enc_expected, sizeof(cil_enc_expected)));
OSMO_ASSERT(false);
}
- OSMO_ASSERT(memcmp(cil_enc_expected, msg->data, msg->len) == 0);
rc_dec = gsm0808_dec_cell_id_list2(&dec_cil, msg->data + 2, msg->len - 2);
OSMO_ASSERT(rc_dec == msg->len - 2);