Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
28: Avoid change in float rounding behaviour in tests r=Nemo157 a=Nemo157 rust-lang/rust#102935 changed the behaviour of `format!("{:.0}", 0.5)` to round to 0 instead of 1 for consistency. The test case I copied from `std` was using this, so change to using 1.5 which has the same behaviour on stable and nightly. Co-authored-by: Wim Looman <git@nemo157.com>
- Loading branch information