Skip to content

Commit 16807cb

Browse files
committed
---
yaml --- r: 216802 b: refs/heads/stable c: 1aecd17 h: refs/heads/master v: v3
1 parent cc95ba1 commit 16807cb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ refs/heads/tmp: 378a370ff2057afeb1eae86eb6e78c476866a4a6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: a5286998df566e736b32f6795bfc3803bdaf453d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 3d34e177dd19bfbc6885b03eac0632adc9c621b2
32+
refs/heads/stable: 1aecd17463bb16d03462cf31edb920b9f47ddf2c
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375

branches/stable/src/test/run-pass/ifmt.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ pub fn main() {
138138
t!(format!("{:e}", 1.2345e6f32), "1.2345e6");
139139
t!(format!("{:e}", 1.2345e6f64), "1.2345e6");
140140
t!(format!("{:E}", 1.2345e6f64), "1.2345E6");
141-
t!(format!("{:.3e}", 1.2345e6f64), "1.235e6");
142-
t!(format!("{:10.3e}", 1.2345e6f64), " 1.235e6");
143-
t!(format!("{:+10.3e}", 1.2345e6f64), " +1.235e6");
144-
t!(format!("{:+10.3e}", -1.2345e6f64), " -1.235e6");
141+
t!(format!("{:.3e}", 1.2345e6f64), "1.234e6");
142+
t!(format!("{:10.3e}", 1.2345e6f64), " 1.234e6");
143+
t!(format!("{:+10.3e}", 1.2345e6f64), " +1.234e6");
144+
t!(format!("{:+10.3e}", -1.2345e6f64), " -1.234e6");
145145

146146
// Float edge cases
147147
t!(format!("{}", -0.0), "0");

0 commit comments

Comments
 (0)