Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jul 26, 2023
1 parent e8c5b06 commit 6fd7db0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
Expand All @@ -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++;
}
Expand Down Expand Up @@ -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++;
}
Expand Down

0 comments on commit 6fd7db0

Please sign in to comment.