diff options
Diffstat (limited to 'test/core/debug')
-rw-r--r-- | test/core/debug/stats_test.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/core/debug/stats_test.cc b/test/core/debug/stats_test.cc index 915254f3ca..c4b0d502e3 100644 --- a/test/core/debug/stats_test.cc +++ b/test/core/debug/stats_test.cc @@ -110,11 +110,9 @@ TEST_P(HistogramTest, IncHistogram) { }; std::vector<int> test_values; for (int j = -1000; - j < - grpc_stats_histo_bucket_boundaries[kHistogram] - [grpc_stats_histo_buckets[kHistogram] - - 1] + - 1000; + j < grpc_stats_histo_bucket_boundaries + [kHistogram][grpc_stats_histo_buckets[kHistogram] - 1] + + 1000; j++) { int expected_bucket = FindExpectedBucket(kHistogram, j); if (cur_bucket != expected_bucket) { |