Commit 31af9d4
fix timer test to be less reliant on float precision (#3789)
# Objective
- Test is failing on nightly after the merge of rust-lang/rust#90247
- It was relying on the precision of the duration of `1.0 / 3.0`
## Solution
- Fix the test to be less reliant on float precision to have the same result1 parent ef5c8e8 commit 31af9d4
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
| 474 | + | |
474 | 475 | | |
475 | 476 | | |
| 477 | + | |
476 | 478 | | |
477 | 479 | | |
| 480 | + | |
478 | 481 | | |
479 | 482 | | |
480 | | - | |
| 483 | + | |
481 | 484 | | |
482 | 485 | | |
483 | 486 | | |
| |||
0 commit comments