Merge branch 'master' into restructure-api
This commit is contained in:
commit
7549d90d5d
|
@ -384,8 +384,8 @@ mod tests {
|
|||
.sample_iter(&Alphanumeric)
|
||||
.take(30)
|
||||
.map(char::from)
|
||||
.collect();
|
||||
let post = client.compose_post(post_text, Vec::new()).await?;
|
||||
.collect::<String>();
|
||||
let post = client.compose_post(&post_text, Vec::new()).await?;
|
||||
if !client.delete_post(post.id).await? {
|
||||
panic!("Delete post returned false unexpectedly.")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue