summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2022-04-14 12:01:59 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-04-19 13:00:36 +0000
commitc91b55a20193894da4ba8eccab703c81ca7139a8 (patch)
tree85d6ff21eb40f780ac6e348fec4558326e437d4a /tests
parent38f7ba3db42a64bf9ddfdf29d3d90723486776d4 (diff)
tests: update CMocka to stable-1.1
CMocka stable-1.1 has some convenience bugfixes like vprint buffer increase or leftover values log fix (funtion names display correctly now. Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: I20ebd15324a21c17cccd2976ae9c3f86b040426d Reviewed-on: https://review.coreboot.org/c/coreboot/+/63636 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/b64_decode-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/b64_decode-test.c b/tests/lib/b64_decode-test.c
index 631dc15f7d..189ce96237 100644
--- a/tests/lib/b64_decode-test.c
+++ b/tests/lib/b64_decode-test.c
@@ -35,7 +35,7 @@ static void test_b64_decode(void **state)
res = b64_decode((uint8_t *)messages[i].enc, strlen(messages[i].enc), decoded);
assert_int_equal(res, (strlen(messages[i].dec)));
- assert_string_equal(decoded, messages[i].dec);
+ assert_string_equal((const char *)decoded, messages[i].dec);
free(decoded);
}