diff --git a/tests/test.rs b/tests/test.rs index 3781f8dbc..e4708bfb3 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -1909,10 +1909,16 @@ fn test_integer_key() { ]); let err = from_value::>(json!({" 123":null})).unwrap_err(); - assert_eq!(err.to_string(), "invalid value: expected key to be a number in quotes"); + assert_eq!( + err.to_string(), + "invalid value: expected key to be a number in quotes", + ); let err = from_value::>(json!({"123 ":null})).unwrap_err(); - assert_eq!(err.to_string(), "invalid value: expected key to be a number in quotes"); + assert_eq!( + err.to_string(), + "invalid value: expected key to be a number in quotes", + ); } #[test]