summaryrefslogtreecommitdiffstats
path: root/unit/test-stkutil.c
diff options
context:
space:
mode:
authorYang Gu <gyagp0@gmail.com>2010-05-26 22:39:09 +0800
committerDenis Kenzior <denkenz@gmail.com>2010-05-27 07:07:18 -0500
commit55a2596e84affb18fc45738deb7d45729692e13a (patch)
tree48a91f5918b78c0185a39070d2c833c3299f45d7 /unit/test-stkutil.c
parentd5f3a4bc9654ad432973538719dcbe539a43a324 (diff)
downloadofono-55a2596e84affb18fc45738deb7d45729692e13a.tar.bz2
teststk: Add check of len in byte array
Diffstat (limited to 'unit/test-stkutil.c')
-rw-r--r--unit/test-stkutil.c1
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));
}