Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Oct 10, 2023
1 parent 7732bf6 commit 0ad7a73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/smtp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ mod tests {

let to_email = EmailAddress::from_str("foo@icloud.com").unwrap();
let host = Name::from_str("mx01.mail.icloud.com.").unwrap();
let input = CheckEmailInput::default();
let mut input = CheckEmailInput::default();
input.set_skipped_domains(vec![".mail.icloud.com.".into()]);

let res = runtime.block_on(check_smtp(&to_email, &host, 25, "icloud.com", &input));
match res {
Expand Down

0 comments on commit 0ad7a73

Please sign in to comment.