We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b1699f commit fbb4fdfCopy full SHA for fbb4fdf
src/webxdc/webxdc_tests.rs
@@ -128,15 +128,14 @@ async fn test_set_draft_invalid_webxdc() -> Result<()> {
128
let t = TestContext::new_alice().await;
129
let chat_id = create_group_chat(&t, ProtectionStatus::Unprotected, "foo").await?;
130
131
- // sending invalid .xdc as file is possible, but must not result in Viewtype::Webxdc
132
let mut instance = create_webxdc_instance(
133
&t,
134
"invalid-no-zip-but-7z.xdc",
135
include_bytes!("../../test-data/webxdc/invalid-no-zip-but-7z.xdc"),
136
)?;
137
138
chat_id.set_draft(&t, Some(&mut instance)).await?;
139
- let _draft = chat_id.get_draft(&t).await.unwrap();
+ chat_id.get_draft(&t).await.unwrap();
140
Ok(())
141
}
142
0 commit comments