Skip to content

Commit ea10af8

Browse files
committed
imapclient: turn on IMAP4rev2 for imapmemserver
1 parent ba82060 commit ea10af8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

imapclient/client_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ func newMemClientServerPair(t *testing.T) (net.Conn, io.Closer) {
3737
return memServer.NewSession(), nil, nil
3838
},
3939
InsecureAuth: true,
40+
Caps: imap.CapSet{
41+
imap.CapIMAP4rev1: {},
42+
imap.CapIMAP4rev2: {},
43+
},
4044
})
4145

4246
ln, err := net.Listen("tcp", "localhost:0")

0 commit comments

Comments
 (0)