We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5855fb7 commit 97d5a1bCopy full SHA for 97d5a1b
library/core/tests/num/nan.rs
@@ -1,8 +1,8 @@
1
#[test]
2
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);
+ use core::f64;
+ let x = "NaN".to_string();
+ assert_eq!(format!("{}", f64::NAN), x);
+ assert_eq!(format!("{:e}", f64::NAN), x);
+ assert_eq!(format!("{:E}", f64::NAN), x);
8
}
0 commit comments