Clean up json! formatting

This commit is contained in:
Jonas Platte
2021-05-14 01:13:42 +02:00
parent 5710d2740c
commit fe68bf0e07
6 changed files with 21 additions and 21 deletions

View File

@@ -420,7 +420,7 @@ fn INITIAL_EVENTS() -> BTreeMap<EventId, Arc<StateEvent>> {
alice(),
EventType::RoomPowerLevels,
Some(""),
json!({"users": {alice().to_string(): 100}}),
json!({ "users": { alice().to_string(): 100 } }),
&["CREATE", "IMA"],
&["IMA"],
),
@@ -484,7 +484,7 @@ fn BAN_STATE_SET() -> BTreeMap<EventId, Arc<StateEvent>> {
alice(),
EventType::RoomPowerLevels,
Some(""),
json!({"users": {alice(): 100, bob(): 50}}),
json!({ "users": { alice(): 100, bob(): 50 } }),
&["CREATE", "IMA", "IPOWER"], // auth_events
&["START"], // prev_events
),
@@ -493,7 +493,7 @@ fn BAN_STATE_SET() -> BTreeMap<EventId, Arc<StateEvent>> {
alice(),
EventType::RoomPowerLevels,
Some(""),
json!({"users": {alice(): 100, bob(): 50}}),
json!({ "users": { alice(): 100, bob(): 50 } }),
&["CREATE", "IMA", "IPOWER"],
&["END"],
),