summaryrefslogtreecommitdiff
path: root/tests/unit_tests/example_test/test2.c
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-27 18:25:47 +0100
committerAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-27 18:25:47 +0100
commit3a2bbdb05ca6a6996e424c9fb225cb0d53804125 (patch)
treef29063da5bec4caf3853d49a22a09c8619eebd21 /tests/unit_tests/example_test/test2.c
parentd53dba59e78da865c4fe820386ff2f4f76925f3b (diff)
New upstream version 2.4.0upstream/2.4.0
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),
};