From 1fef5ff5ec5fffeacd4c8c7c433a210382d92421 Mon Sep 17 00:00:00 2001 From: Rich Evans Date: Mon, 2 Feb 2015 11:57:21 +0000 Subject: [PATCH] fix always true assertion --- tests/suites/helpers.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function index 2cc129a52..f5dff8e79 100644 --- a/tests/suites/helpers.function +++ b/tests/suites/helpers.function @@ -43,7 +43,7 @@ static int unhexify(unsigned char *obuf, const char *ibuf) { unsigned char c, c2; int len = strlen(ibuf) / 2; - assert(!(strlen(ibuf) %1)); // must be even number of bytes + assert( strlen(ibuf) % 2 == 0 ); // must be even number of bytes while (*ibuf != 0) {