mirror of
https://github.com/mjl-/mox.git
synced 2025-07-19 03:26:37 +03:00
imapclient: clean up function signature of New, allowing for future options too
This commit is contained in:
@ -40,11 +40,6 @@ func TestCompressStartTLS(t *testing.T) {
|
||||
tc.transactf("ok", "append inbox (\\seen) {%d+}\r\n%s", len(exampleMsg), exampleMsg)
|
||||
tc.transactf("ok", "noop")
|
||||
tc.transactf("ok", "fetch 1 body.peek[1]")
|
||||
|
||||
// Prevent client.Close from failing the test. The client first closes the
|
||||
// compression stream, which causes the server to close the connection, after which
|
||||
// the messages to close the TLS connection are written to a closed socket.
|
||||
tc.client.SetPanic(false)
|
||||
}
|
||||
|
||||
func TestCompressBreak(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user