summaryrefslogtreecommitdiff
path: root/tests/unit_tests/example_test/test2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/example_test/test2.c')
-rw-r--r--tests/unit_tests/example_test/test2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/unit_tests/example_test/test2.c b/tests/unit_tests/example_test/test2.c
index f99da9e..b5d4fa6 100644
--- a/tests/unit_tests/example_test/test2.c
+++ b/tests/unit_tests/example_test/test2.c
@@ -7,12 +7,14 @@
#include <cmocka.h>
-static void test_true(void **state) {
+static void
+test_true(void **state) {
(void) state;
}
-int main(void) {
+int
+main(void) {
const struct CMUnitTest tests[] = {
cmocka_unit_test(test_true),
};