clang-format

pull/20641/head
Vijay Pai 5 years ago
parent 53e19e8de2
commit 47f2b461ef
  1. 3
      test/cpp/thread_manager/thread_manager_test.cc
  2. 3
      test/cpp/util/slice_test.cc

@ -102,8 +102,7 @@ grpc::ThreadManager::WorkStatus ThreadManagerTest::PollForWork(void** tag,
return WORK_FOUND;
}
void ThreadManagerTest::DoWork(void* /*tag*/, bool /*ok*/,
bool /*resources*/) {
void ThreadManagerTest::DoWork(void* /*tag*/, bool /*ok*/, bool /*resources*/) {
gpr_atm_no_barrier_fetch_add(&num_do_work_, 1);
SleepForMs(settings_.work_duration_ms); // Simulate work by sleeping
}

@ -80,8 +80,7 @@ TEST_F(SliceTest, SliceNew) {
}
TEST_F(SliceTest, SliceNewDoNothing) {
Slice spp(const_cast<char*>(kContent), strlen(kContent),
[](void* /*p*/) {});
Slice spp(const_cast<char*>(kContent), strlen(kContent), [](void* /*p*/) {});
CheckSlice(spp, kContent);
}

Loading…
Cancel
Save