crypto: Fix a typo

Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
master
poljar 2021-04-29 15:34:53 +02:00 committed by GitHub
parent 233c4355d8
commit 6048a1a507
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1872,7 +1872,7 @@ pub(crate) mod test {
if let MessageType::Text(c) = &content.msgtype { if let MessageType::Text(c) = &content.msgtype {
assert_eq!(&c.body, plaintext); assert_eq!(&c.body, plaintext);
} else { } else {
panic!("Decrypted event has a missmatched content"); panic!("Decrypted event has a mismatched content");
} }
} else { } else {
panic!("Decrypted room event has the wrong type") panic!("Decrypted room event has the wrong type")