mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +03:00
Clippy fix
This commit is contained in:
@@ -530,10 +530,7 @@ impl TestContext {
|
||||
Contact::add_or_lookup(self, &name, &addr, Origin::MailinglistAddress)
|
||||
.await
|
||||
.expect("add_or_lookup")
|
||||
.expect(&format!(
|
||||
"contact with address {:?} cannot be created",
|
||||
&addr
|
||||
));
|
||||
.unwrap_or_else(|| panic!("contact with address {:?} cannot be created", &addr));
|
||||
match modified {
|
||||
Modifier::None => (),
|
||||
Modifier::Modified => warn!(&self.ctx, "Contact {} modified by TestContext", &addr),
|
||||
|
||||
Reference in New Issue
Block a user