You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ddbdbc3
Browse filesBrowse the repository at this point in the historyBrowse files
let first_bucket_end = Duration::from_nanos(histogram.bucket_range(0).end);
346
343
let last_bucket_start = Duration::from_nanos(histogram.bucket_range(histogram.num_buckets - 1).start);
347
344
let second_last_bucket_start = Duration::from_nanos(histogram.bucket_range(histogram.num_buckets - 2).start);
348
-
prop_assert!(first_bucket_end <= min_value,"first bucket {first_bucket_end:?} must be less than {min_value:?}");
349
-
prop_assert!(last_bucket_start > max_value,"last bucket start ({last_bucket_start:?} must be at least as big as `max_value` ({max_value:?})");
345
+
prop_assert!(
346
+
first_bucket_end <= min_value,
347
+
"first bucket {first_bucket_end:?} must be less than {min_value:?}"
348
+
);
349
+
prop_assert!(
350
+
last_bucket_start > max_value,
351
+
"last bucket start ({last_bucket_start:?} must be at least as big as `max_value` ({max_value:?})"
352
+
);
350
353
351
354
// We should have the exact right number of buckets. The second to last bucket should be strictly less than max value.
352
-
prop_assert!(second_last_bucket_start < max_value,"second last bucket end ({second_last_bucket_start:?} must be at least as big as `max_value` ({max_value:?})");
355
+
prop_assert!(
356
+
second_last_bucket_start < max_value,
357
+
"second last bucket end ({second_last_bucket_start:?} must be at least as big as `max_value` ({max_value:?})"
0 commit comments