assume canonical order in db serialization test
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
7294368015
commit
a57336ec13
1 changed files with 1 additions and 1 deletions
|
@ -152,8 +152,8 @@ fn ser_json_macro() {
|
|||
let content = serde_json::to_value(content).expect("failed to serialize content");
|
||||
let sender: &UserId = "@foo:example.com".try_into().unwrap();
|
||||
let serialized = serialize_to_vec(Json(json!({
|
||||
"sender": sender,
|
||||
"content": content,
|
||||
"sender": sender,
|
||||
})))
|
||||
.expect("failed to serialize value");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue