diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-12 09:54:58 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-12 09:54:58 +0100 |
commit | 69632879865bb351373c86daa1585942b8505618 (patch) | |
tree | 104033ef475a65f2cb7148594d3bdeefa0ce692a /src/imap | |
parent | 3c7186ab5ac5a66f782a038d937b6679780df458 (diff) | |
download | aerogramme-69632879865bb351373c86daa1585942b8505618.tar.gz aerogramme-69632879865bb351373c86daa1585942b8505618.zip |
Fix unit tests
Diffstat (limited to 'src/imap')
-rw-r--r-- | src/imap/mailbox_view.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/imap/mailbox_view.rs b/src/imap/mailbox_view.rs index 683e209..07fa3ad 100644 --- a/src/imap/mailbox_view.rs +++ b/src/imap/mailbox_view.rs @@ -612,6 +612,7 @@ mod tests { peek: false, }, ]), + &[], false, ); @@ -623,12 +624,13 @@ mod tests { rfc822_size: 8usize, }; - let index_entry = (NonZeroU32::MIN, vec![]); + let index_entry = (NonZeroU32::MIN, NonZeroU64::MIN, vec![]); let mail_in_idx = MailIndex { i: NonZeroU32::MIN, uid: index_entry.0, + modseq: index_entry.1, uuid: unique_ident::gen_ident(), - flags: &index_entry.1, + flags: &index_entry.2, }; let rfc822 = b"Subject: hello\r\nFrom: a@a.a\r\nTo: b@b.b\r\nDate: Thu, 12 Oct 2023 08:45:28 +0000\r\n\r\nhello world"; let qr = QueryResult::FullResult { |