teststk: Add check of len in byte array

This commit is contained in:
Yang Gu 2010-05-26 22:39:09 +08:00 committed by Denis Kenzior
parent d5f3a4bc96
commit 55a2596e84
1 changed files with 1 additions and 0 deletions

View File

@ -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));
}