Skip to content

Commit

Permalink
asn1,test: add return value check for meas test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepuschmann authored and yagoda committed May 2, 2023
1 parent c094b0a commit 179f7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/test/asn1/srsran_asn1_rrc_meas_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int meas_obj_test()
cbit_ref bref(&rrc_msg[0], sizeof(rrc_msg));

ul_dcch_msg_s ul_dcch_msg;
ul_dcch_msg.unpack(bref);
TESTASSERT(ul_dcch_msg.unpack(bref) == SRSASN_SUCCESS);

TESTASSERT(ul_dcch_msg.msg.type() == ul_dcch_msg_type_c::types::c1);
TESTASSERT(ul_dcch_msg.msg.c1().type() == ul_dcch_msg_type_c::c1_c_::types::meas_report);
Expand Down

0 comments on commit 179f7d8

Please sign in to comment.