fixing style again

This commit is contained in:
Benjamin Kampmann
2022-01-07 11:59:57 +01:00
parent 278d934973
commit fb81ebf301
+3 -1
View File
@@ -281,7 +281,9 @@ pub(crate) mod test {
let decrypted = inbound.decrypt(&event).await.unwrap().0;
if let AnyRoomEvent::Message(AnyMessageEvent::RoomMessage(e)) = decrypted.deserialize().unwrap() {
if let AnyRoomEvent::Message(AnyMessageEvent::RoomMessage(e)) =
decrypted.deserialize().unwrap()
{
assert_matches!(e.content.relates_to, Some(Relation::Replacement(_)));
} else {
panic!("Invalid event type")