diff options
author | Yang Gu <gyagp0@gmail.com> | 2010-05-26 22:39:09 +0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-05-27 07:07:18 -0500 |
commit | 55a2596e84affb18fc45738deb7d45729692e13a (patch) | |
tree | 48a91f5918b78c0185a39070d2c833c3299f45d7 /unit/test-stkutil.c | |
parent | d5f3a4bc9654ad432973538719dcbe539a43a324 (diff) | |
download | ofono-55a2596e84affb18fc45738deb7d45729692e13a.tar.bz2 |
teststk: Add check of len in byte array
Diffstat (limited to 'unit/test-stkutil.c')
-rw-r--r-- | unit/test-stkutil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index 45138f1d..5cef2e68 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -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)); } |