diff --git a/tests/test_de.rs b/tests/test_de.rs index 7c760872..b9e948de 100644 --- a/tests/test_de.rs +++ b/tests/test_de.rs @@ -453,8 +453,12 @@ fn test_numbers() { #[test] fn test_nan() { // There is no negative NaN in YAML. - assert!(serde_yaml::from_str::(".nan").unwrap().is_sign_positive()); - assert!(serde_yaml::from_str::(".nan").unwrap().is_sign_positive()); + assert!(serde_yaml::from_str::(".nan") + .unwrap() + .is_sign_positive()); + assert!(serde_yaml::from_str::(".nan") + .unwrap() + .is_sign_positive()); } #[test]