pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-cbc/+/28659 )
Change subject: tests/sbcap: fix wrong operator used in OSMO_ASSERT statement ......................................................................
tests/sbcap: fix wrong operator used in OSMO_ASSERT statement
Change-Id: I6fe9080302166ad9bdc305eab736d51496dd1ff8 Related: CID#274972, CID#274971 --- M tests/sbcap/sbcap_test.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified
diff --git a/tests/sbcap/sbcap_test.c b/tests/sbcap/sbcap_test.c index 5c5a4b0..747d0b2 100644 --- a/tests/sbcap/sbcap_test.c +++ b/tests/sbcap/sbcap_test.c @@ -161,7 +161,7 @@ OSMO_ASSERT(rval.code == RC_OK); OSMO_ASSERT(pdu);
- OSMO_ASSERT(pdu->present = SBcAP_SBC_AP_PDU_PR_successfulOutcome); + OSMO_ASSERT(pdu->present == SBcAP_SBC_AP_PDU_PR_successfulOutcome); OSMO_ASSERT(pdu->choice.successfulOutcome.procedureCode == SBcAP_ProcedureId_Write_Replace_Warning); OSMO_ASSERT(pdu->choice.successfulOutcome.criticality == SBcAP_Criticality_reject);