mirror of
https://github.com/servo/servo.git
synced 2025-08-26 07:38:21 +01:00
simplifying min and max calculation for profiler get_statistics function
This commit is contained in:
parent
7dccf09ff6
commit
e1092b8b1d
2 changed files with 4 additions and 3 deletions
|
@ -37,7 +37,7 @@ fn time_profiler_stats_test() {
|
|||
assert_eq!(13.2599, odd_max);
|
||||
}
|
||||
|
||||
#[cfg(debug)]
|
||||
#[cfg(debug_assertions)]
|
||||
#[test]
|
||||
#[should_panic]
|
||||
fn time_profiler_unsorted_stats_test() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue