Skip to content
This repository was archived by the owner on Mar 25, 2024. It is now read-only.

Commit 1e2a89c

Browse files
committed
Format PR 393 with rustfmt
1 parent 8032b5c commit 1e2a89c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/test_de.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,12 @@ fn test_numbers() {
453453
#[test]
454454
fn test_nan() {
455455
// There is no negative NaN in YAML.
456-
assert!(serde_yaml::from_str::<f32>(".nan").unwrap().is_sign_positive());
457-
assert!(serde_yaml::from_str::<f64>(".nan").unwrap().is_sign_positive());
456+
assert!(serde_yaml::from_str::<f32>(".nan")
457+
.unwrap()
458+
.is_sign_positive());
459+
assert!(serde_yaml::from_str::<f64>(".nan")
460+
.unwrap()
461+
.is_sign_positive());
458462
}
459463

460464
#[test]

0 commit comments

Comments
 (0)