Skip to content

Commit 97d5a1b

Browse files
author
chansuke
committed
Fix format
1 parent 5855fb7 commit 97d5a1b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

library/core/tests/num/nan.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#[test]
22
fn test_nan() {
3-
use core::f64;
4-
let x = "NaN".to_string();
5-
assert_eq!(format!("{}", f64::NAN), x);
6-
assert_eq!(format!("{:e}", f64::NAN), x);
7-
assert_eq!(format!("{:E}", f64::NAN), x);
3+
use core::f64;
4+
let x = "NaN".to_string();
5+
assert_eq!(format!("{}", f64::NAN), x);
6+
assert_eq!(format!("{:e}", f64::NAN), x);
7+
assert_eq!(format!("{:E}", f64::NAN), x);
88
}

0 commit comments

Comments
 (0)