Skip to content

Commit 4f62959

Browse files
committed
---
yaml --- r: 208213 b: refs/heads/snap-stage3 c: 1aecd17 h: refs/heads/master i: 208211: b0ec959 v: v3
1 parent 136ef88 commit 4f62959

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 3d34e177dd19bfbc6885b03eac0632adc9c621b2
4+
refs/heads/snap-stage3: 1aecd17463bb16d03462cf31edb920b9f47ddf2c
55
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/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)