From d7d1f44885f6f485cb195a5a52ab5ef56da98ece Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Sun, 3 Mar 2024 12:19:48 +0100 Subject: [PATCH] fix err check --- test/conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/conf.c b/test/conf.c index 2bb163b66..922aabad9 100644 --- a/test/conf.c +++ b/test/conf.c @@ -36,9 +36,11 @@ int test_conf(void) goto badmsg; err = conf_get_u32(conf, "u32_val", &u32); + TEST_ERR(err); TEST_EQUALS(42, u32); err = conf_get_i32(conf, "i32_val", &i32); + TEST_ERR(err); TEST_EQUALS(-23, i32); /* Non-existing parameters */