diff options
author | Jakub Czapiga <mordijc@gmail.com> | 2024-02-05 18:23:36 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2024-02-12 15:57:02 +0100 |
commit | f9e5b1fa3b720a4b6798128db886c8ce8aedfb95 (patch) | |
tree | 1b72f896b79415ae13451e4af611e50793f2175c /tests/test_group_fixtures.c | |
parent | 48df48211c97cd163c0b61061b9bd91a194199c3 (diff) | |
download | cmocka-master.tar.gz cmocka-master.tar.xz cmocka-master.zip |
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_group_fixtures.c')
-rw-r--r-- | tests/test_group_fixtures.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_group_fixtures.c b/tests/test_group_fixtures.c index e9b4ad3..1ed71ce 100644 --- a/tests/test_group_fixtures.c +++ b/tests/test_group_fixtures.c @@ -2,6 +2,7 @@ #define UNIT_TESTING 1 #include <stdarg.h> +#include <stdbool.h> #include <stddef.h> #include <setjmp.h> #include <stdint.h> |