remove unnecessary function-args

This commit is contained in:
Sebastian Klähn
2021-07-06 20:05:18 +02:00
parent 5bffdc6bbf
commit 77aa8b2c3f
2 changed files with 3 additions and 3 deletions

View File

@@ -115,7 +115,7 @@ name = "search_msgs"
harness = false
[features]
default = []
default = ["vendored"]
internals = []
repl = ["internals", "rustyline", "log", "pretty_env_logger", "ansi_term", "dirs"]
vendored = ["async-native-tls/vendored", "async-smtp/native-tls-vendored", "rusqlite/bundled"]

View File

@@ -4171,7 +4171,7 @@ mod tests {
}
#[async_std::test]
async fn test_sticker_forward(filename: &str, bytes: &[u8], w: i32, h: i32) -> Result<()> {
async fn test_sticker_forward() -> Result<()> {
// create chats
let alice = TestContext::new_alice().await;
let bob = TestContext::new_bob().await;
@@ -4205,7 +4205,7 @@ mod tests {
}
#[async_std::test]
async fn test_forward(filename: &str, bytes: &[u8], w: i32, h: i32) -> Result<()> {
async fn test_forward() -> Result<()> {
let alice = TestContext::new_alice().await;
let bob = TestContext::new_bob().await;
let alice_chat = alice.create_chat(&bob).await;