test/hooks.c: Format with clang-format
BRANCH=none
TEST=none
@@ -62,9 +62,7 @@ static void non_deferred_func(void)
deferred_call_count++;
}
-static const struct deferred_data non_deferred_func_data = {
- non_deferred_func
-};
+static const struct deferred_data non_deferred_func_data = { non_deferred_func };
static int test_init_hook(void)
{
@@ -85,8 +83,7 @@ static int test_ticks(void)
usleep(1300 * MSEC);
interval = tick_time[1].val - tick_time[0].val;
- error_pct = (interval - HOOK_TICK_INTERVAL) * 100 /
- HOOK_TICK_INTERVAL;
+ error_pct = (interval - HOOK_TICK_INTERVAL) * 100 / HOOK_TICK_INTERVAL;
TEST_ASSERT_ABS_LESS(error_pct, 10);
interval = second_time[1].val - second_time[0].val;
