From 38fec0b0a99a90e2f9fca0a1c9ad19ab83994889 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sun, 24 May 2020 19:05:17 +0200 Subject: [PATCH] Fix typo --- src/room_key.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/room_key.rs b/src/room_key.rs index b1f40cda..5067d33c 100644 --- a/src/room_key.rs +++ b/src/room_key.rs @@ -45,7 +45,7 @@ mod tests { let ev = RoomKeyEvent { content: RoomKeyEventContent { algorithm: Algorithm::MegolmV1AesSha2, - room_id: RoomId::try_from("!testroomid:exmaple.org").unwrap(), + room_id: RoomId::try_from("!testroomid:example.org").unwrap(), session_id: "SessId".into(), session_key: "SessKey".into(), }, @@ -57,7 +57,7 @@ mod tests { "type": "m.room_key", "content": { "algorithm": "m.megolm.v1.aes-sha2", - "room_id": "!testroomid:exmaple.org", + "room_id": "!testroomid:example.org", "session_id": "SessId", "session_key": "SessKey", },