#6: fix E2E search result length assertion for IMAP4rev1 search

This commit is contained in:
Lucas Rayan committed 2026-07-24 12:02:49 -03:00
1 parent 31a465e2e5
commit 5a7dcc002a
2 files changed
+5 -2

No files matched your search

@@ -175,8 +175,8 @@ func TestImapIdleAndCondStoreEndToEnd(t *testing.T) {
if err != nil {
t.Fatalf("SEARCH FLAGGED: %v", err)
}
if searchRes.Count != 1 {
t.Fatalf("SEARCH FLAGGED expected 1 result, got %d", searchRes.Count)
if len(searchRes.AllSeqNums()) != 1 {
t.Fatalf("SEARCH FLAGGED expected 1 result, got %d (all=%v)", len(searchRes.AllSeqNums()), searchRes.AllSeqNums())
}
// --- IDLE test -----------------------------------------------------------