Index: tracing/tracing/value/histogram_test.html |
diff --git a/tracing/tracing/value/histogram_test.html b/tracing/tracing/value/histogram_test.html |
index 6599ee7f33840b687e9d6412a015c7a795527d0d..12144bf32c7379e77a6a2380a13db987f88bdd7b 100644 |
--- a/tracing/tracing/value/histogram_test.html |
+++ b/tracing/tracing/value/histogram_test.html |
@@ -393,8 +393,9 @@ tr.b.unittest.testSuite(function() { |
check([0, 11], 0.5, 10.5, 10, 1); |
check([0, 6, 11], 0.5, 10.5, 10, 1); |
let array = []; |
- for (let i = 0; i < 1000; i++) |
+ for (let i = 0; i < 1000; i++) { |
array.push((i * i) % 10 + 1); |
+ } |
check(array, 0.5, 10.5, 10, 1e-3); |
// If the real percentile is outside the bin range then the approximation |
// error can be high. |