go-imap
go-imap copied to clipboard
imapclient: add test for client disconnection
Extracted from https://github.com/emersion/go-imap/pull/718