From 55a2596e84affb18fc45738deb7d45729692e13a Mon Sep 17 00:00:00 2001 From: Yang Gu Date: Wed, 26 May 2010 22:39:09 +0800 Subject: [PATCH] teststk: Add check of len in byte array --- unit/test-stkutil.c | 1 + 1 file changed, 1 insertion(+) 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)); }