Author:
Hash:
Timestamp:
+17 -17 +/-1 browse
Kevin Schoon [me@kevinschoon.com]
eabb064a30d82b1e28fa6374e530740fcc7926ca
Wed, 09 Oct 2024 08:27:26 +0000 (1.1 years ago)
| 1 | diff --git a/maitred/src/session.rs b/maitred/src/session.rs |
| 2 | index 8f9558b..da894ca 100644 |
| 3 | --- a/maitred/src/session.rs |
| 4 | +++ b/maitred/src/session.rs |
| 5 | @@ -857,7 +857,7 @@ impl Session { |
| 6 | mod test { |
| 7 | |
| 8 | use base64::engine::general_purpose::STANDARD; |
| 9 | - use base64::{prelude::*, DecodeError}; |
| 10 | + use base64::prelude::*; |
| 11 | use smtp_proto::MailFrom; |
| 12 | |
| 13 | use super::*; |
| 14 | @@ -880,29 +880,29 @@ mod test { |
| 15 | _ => false, |
| 16 | }, |
| 17 | Action::BDat { |
| 18 | - initial_response, |
| 19 | - cb, |
| 20 | + initial_response: _, |
| 21 | + cb: _, |
| 22 | } => todo!(), |
| 23 | Action::Data { |
| 24 | - initial_response, |
| 25 | - cb, |
| 26 | + initial_response: _, |
| 27 | + cb: _, |
| 28 | } => todo!(), |
| 29 | Action::SpfVerification { |
| 30 | - ip_addr, |
| 31 | - helo_domain, |
| 32 | - host_domain, |
| 33 | - mail_from, |
| 34 | - cb, |
| 35 | + ip_addr: _, |
| 36 | + helo_domain: _, |
| 37 | + host_domain: _, |
| 38 | + mail_from: _, |
| 39 | + cb: _, |
| 40 | } => todo!(), |
| 41 | Action::PlainAuth { |
| 42 | - authcid, |
| 43 | - authzid, |
| 44 | - password, |
| 45 | - cb, |
| 46 | + authcid: _, |
| 47 | + authzid: _, |
| 48 | + password: _, |
| 49 | + cb: _, |
| 50 | } => todo!(), |
| 51 | - Action::Verify { address, cb } => todo!(), |
| 52 | - Action::Expand { address, cb } => todo!(), |
| 53 | - Action::StartTls(response) => todo!(), |
| 54 | + Action::Verify { address: _, cb: _ } => todo!(), |
| 55 | + Action::Expand { address: _, cb: _ } => todo!(), |
| 56 | + Action::StartTls(_response) => todo!(), |
| 57 | Action::Quit(response) => { |
| 58 | matches!(expected, Action::Quit(other) if response.eq(other)) |
| 59 | } |