mirror of git://git.sysmocom.de/ofono
teststk: Add check of len in byte array
This commit is contained in:
parent
d5f3a4bc96
commit
55a2596e84
|
@ -82,6 +82,7 @@ static inline void check_common_byte_array(
|
|||
}
|
||||
|
||||
g_assert(command->len != 0);
|
||||
g_assert(command->len == test->len);
|
||||
g_assert(g_mem_equal(command->array, test->array, test->len));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue