aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-03-09 07:26:52 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-03-09 07:26:52 -0800
commita39c1995623ed5ef48c49fc5212f2140b3390462 (patch)
tree325ee30e3d64fbaf9ec933decccdfbfb1549dd5e /test
parent3a951bd975cb14ba7fe2b59e7c6b598932998a73 (diff)
clang-format
Diffstat (limited to 'test')
-rw-r--r--test/core/iomgr/timer_heap_test.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/core/iomgr/timer_heap_test.c b/test/core/iomgr/timer_heap_test.c
index 3c78a6c117..4510d51bd7 100644
--- a/test/core/iomgr/timer_heap_test.c
+++ b/test/core/iomgr/timer_heap_test.c
@@ -151,7 +151,8 @@ typedef struct {
bool inserted;
} elem_struct;
-static elem_struct *search_elems(elem_struct *elems, size_t count, bool inserted) {
+static elem_struct *search_elems(elem_struct *elems, size_t count,
+ bool inserted) {
size_t *search_order = gpr_malloc(count * sizeof(*search_order));
for (size_t i = 0; i < count; i++) {
search_order[i] = i;
@@ -172,7 +173,7 @@ static elem_struct *search_elems(elem_struct *elems, size_t count, bool inserted
}
static void test2(void) {
-gpr_log(GPR_INFO, "test2");
+ gpr_log(GPR_INFO, "test2");
grpc_timer_heap pq;
@@ -232,7 +233,8 @@ gpr_log(GPR_INFO, "test2");
}
}
}
- GPR_ASSERT(0 == gpr_time_cmp(grpc_timer_heap_top(&pq)->deadline, *min_deadline));
+ GPR_ASSERT(
+ 0 == gpr_time_cmp(grpc_timer_heap_top(&pq)->deadline, *min_deadline));
}
}