Re-format test

This commit is contained in:
Jonas Platte 2019-10-31 22:21:16 +01:00
parent 972022c175
commit 1cd00e05e9

View File

@ -245,7 +245,8 @@ mod test {
r#"{"a":"1","b":"2"}"# r#"{"a":"1","b":"2"}"#
); );
assert_eq!(&test_canonical_json( assert_eq!(
&test_canonical_json(
r#"{ r#"{
"auth": { "auth": {
"success": true, "success": true,
@ -264,7 +265,8 @@ mod test {
] ]
} }
} }
}"#), }"#
),
r#"{"auth":{"mxid":"@john.doe:example.com","profile":{"display_name":"John Doe","three_pids":[{"address":"john.doe@example.org","medium":"email"},{"address":"123456789","medium":"msisdn"}]},"success":true}}"# r#"{"auth":{"mxid":"@john.doe:example.com","profile":{"display_name":"John Doe","three_pids":[{"address":"john.doe@example.org","medium":"email"},{"address":"123456789","medium":"msisdn"}]},"success":true}}"#
); );