Index: base/metrics/bucket_ranges_unittest.cc |
diff --git a/base/metrics/bucket_ranges_unittest.cc b/base/metrics/bucket_ranges_unittest.cc |
index 424ff63ea1816b0f930277c54eb2d7e7aefd4507..fc0699c733792430faaae1dfe4ece1b592ac36d2 100644 |
--- a/base/metrics/bucket_ranges_unittest.cc |
+++ b/base/metrics/bucket_ranges_unittest.cc |
@@ -12,8 +12,9 @@ namespace { |
TEST(BucketRangesTest, NormalSetup) { |
BucketRanges ranges(5); |
ASSERT_EQ(5u, ranges.size()); |
+ ASSERT_EQ(4u, ranges.bucket_count()); |
- for (int i = 0; i < 5; i++) { |
+ for (int i = 0; i < 5; ++i) { |
EXPECT_EQ(0, ranges.range(i)); |
} |
EXPECT_EQ(0u, ranges.checksum()); |