aboutsummaryrefslogtreecommitdiff
path: root/tests/common
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-05 10:05:30 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-05 10:05:30 +0100
commitac8fb89d56351fbc0017b8a7a8a4ddf53217ab60 (patch)
treea404d0ff5fd1ccd07a23b7111ca3b5ba3a92ffb6 /tests/common
parentcd74ae5e638a03e2656fb54aa09a976e6939e1e3 (diff)
downloadaerogramme-ac8fb89d56351fbc0017b8a7a8a4ddf53217ab60.tar.gz
aerogramme-ac8fb89d56351fbc0017b8a7a8a4ddf53217ab60.zip
reformat cargo
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common/fragments.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/common/fragments.rs b/tests/common/fragments.rs
index 3ed14cc..2e2fbd4 100644
--- a/tests/common/fragments.rs
+++ b/tests/common/fragments.rs
@@ -52,7 +52,7 @@ pub enum Mailbox {
pub enum Flag {
Deleted,
- Important
+ Important,
}
pub enum Email {
@@ -287,8 +287,6 @@ pub fn append_email(imap: &mut TcpStream, content: Email) -> Result<()> {
Ok(())
}
-
-
pub fn add_flags_email(imap: &mut TcpStream, selection: Selection, flag: Flag) -> Result<()> {
let mut buffer: [u8; 1500] = [0; 1500];
assert!(matches!(selection, Selection::FirstId));
@@ -390,7 +388,7 @@ pub fn enable(imap: &mut TcpStream, ask: Enable, done: Option<Enable>) -> Result
Some(Enable::Utf8Accept) => {
assert_eq!(srv_msg.lines().count(), 2);
assert!(srv_msg.contains("* ENABLED UTF8=ACCEPT"));
- },
+ }
_ => unimplemented!(),
}