mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 21:34:38 +03:00
make test for imap getmetadata reliable by sorting output by key
This commit is contained in:
@ -101,6 +101,7 @@ func (c *conn) cmdGetmetadata(tag, cmd string, p *parser) {
|
||||
q.FilterNonzero(store.Annotation{MailboxID: mb.ID})
|
||||
}
|
||||
|
||||
q.SortAsc("MailboxID", "Key") // For tests.
|
||||
err := q.ForEach(func(a store.Annotation) error {
|
||||
// ../rfc/5464:516
|
||||
switch optDepth {
|
||||
|
Reference in New Issue
Block a user