From 1cd00e05e9cc5002e94fb0f0fd72d5f84e02ed57 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 31 Oct 2019 22:21:16 +0100 Subject: [PATCH] Re-format test --- src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 163cc08b..5c01f79e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -245,7 +245,8 @@ mod test { r#"{"a":"1","b":"2"}"# ); - assert_eq!(&test_canonical_json( + assert_eq!( + &test_canonical_json( r#"{ "auth": { "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}}"# );