aboutsummaryrefslogtreecommitdiff
path: root/tests/test_fixtures.c
diff options
context:
space:
mode:
authorJakub Czapiga <mordijc@gmail.com>2024-02-05 18:23:36 +0100
committerAndreas Schneider <asn@cryptomilk.org>2024-02-12 15:57:02 +0100
commitf9e5b1fa3b720a4b6798128db886c8ce8aedfb95 (patch)
tree1b72f896b79415ae13451e4af611e50793f2175c /tests/test_fixtures.c
parent48df48211c97cd163c0b61061b9bd91a194199c3 (diff)
downloadcmocka-master.tar.gz
cmocka-master.tar.xz
cmocka-master.zip
treewide: Use bool intead of int wherever possibleHEADmaster
Use boolean type instead of integer to return logical values. This ensures correct values handling and reduction in confusion for developers. TEST=mkdir obj ; ( cd obj && cmake --DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DPICKY_DEVELOPER=ON DUNIT_TESTING=ON .. && make -j \ && ctest --output-on-failure ) Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/test_fixtures.c')
-rw-r--r--tests/test_fixtures.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_fixtures.c b/tests/test_fixtures.c
index 1df90b4..c8ce641 100644
--- a/tests/test_fixtures.c
+++ b/tests/test_fixtures.c
@@ -1,4 +1,5 @@
#include <stdarg.h>
+#include <stdbool.h>
#include <stddef.h>
#include <setjmp.h>
#include <stdint.h>