From 6fd7db0a514f1285e51ceb0af70ae5650a6ad7cd Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 26 Jul 2023 01:55:29 +0900 Subject: [PATCH] clang-format --- test/test.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/test.c b/test/test.c index 50fa691d..254800d3 100644 --- a/test/test.c +++ b/test/test.c @@ -654,8 +654,7 @@ test_list(void **state) i++; } i = 0; - LIST_FOREACH_REVERSE(it, &h, struct item, entry) - { + LIST_FOREACH_REVERSE(it, &h, struct item, entry) { assert_int_equal(it - items, 9 - i); i++; } @@ -673,8 +672,7 @@ test_list(void **state) } assert_int_equal(i, 5); i = 0; - LIST_FOREACH_REVERSE(it, &h, struct item, entry) - { + LIST_FOREACH_REVERSE(it, &h, struct item, entry) { assert_int_equal(it - items, (4 - i) * 2 + 1); i++; } @@ -714,8 +712,7 @@ test_list(void **state) i++; } i = 0; - LIST_FOREACH_REVERSE(it, &h, struct item, entry) - { + LIST_FOREACH_REVERSE(it, &h, struct item, entry) { assert_int_equal(it - items, i); i++; }