mirror of
https://github.com/mjl-/mox.git
synced 2025-07-13 01:34:39 +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.FilterNonzero(store.Annotation{MailboxID: mb.ID})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
q.SortAsc("MailboxID", "Key") // For tests.
|
||||||
err := q.ForEach(func(a store.Annotation) error {
|
err := q.ForEach(func(a store.Annotation) error {
|
||||||
// ../rfc/5464:516
|
// ../rfc/5464:516
|
||||||
switch optDepth {
|
switch optDepth {
|
||||||
|
Reference in New Issue
Block a user