Update json literal formatting
This commit is contained in:
parent
8e4ff82a83
commit
f23d7414ec
@ -453,7 +453,8 @@ mod tests {
|
||||
#[test]
|
||||
fn deserialization_structure_mismatch() {
|
||||
// Missing several required fields.
|
||||
let error = from_json_value::<EventJson<StartEventContent>>(json!({"from_device": "123"}))
|
||||
let error =
|
||||
from_json_value::<EventJson<StartEventContent>>(json!({ "from_device": "123" }))
|
||||
.unwrap()
|
||||
.deserialize()
|
||||
.unwrap_err();
|
||||
|
Loading…
x
Reference in New Issue
Block a user