Fix wording in expectations

This commit is contained in:
Quentin 2024-01-08 14:05:44 +01:00
parent 4d1ec33334
commit 0acbbe66c1
Signed by: quentin
GPG key ID: E9602264D639FF68

View file

@ -62,7 +62,7 @@ impl<'a> Index<'a> {
return vec![];
}
let iter_strat = sequence::Strategy::Naive {
largest: self.last().expect("imap index is not empty").uid,
largest: self.last().expect("The mailbox is not empty").uid,
};
let mut unroll_seq = sequence_set.iter(iter_strat).collect::<Vec<_>>();
unroll_seq.sort();
@ -104,7 +104,7 @@ impl<'a> Index<'a> {
return Ok(vec![]);
}
let iter_strat = sequence::Strategy::Naive {
largest: self.last().expect("The mailbox is empty").uid,
largest: self.last().expect("The mailbox is not empty").uid,
};
sequence_set
.iter(iter_strat)