This commit is contained in:
jikstra
2019-09-24 05:58:32 +02:00
committed by holger krekel
parent e52acc994c
commit efc563f5ff

View File

@@ -1888,8 +1888,8 @@ mod tests {
#[test] #[test]
fn test_get_draft_special_chat_id() { fn test_get_draft_special_chat_id() {
let t = dummy_context(); let t = dummy_context();
let draft = get_draft(&t.ctx, DC_CHAT_ID_LAST_SPECIAL); let draft = get_draft(&t.ctx, DC_CHAT_ID_LAST_SPECIAL).unwrap();
assert!(draft.is_err()); assert!(draft.is_none());
} }
#[test] #[test]