]> Cypherpunks repositories - gostls13.git/commit
net/smtp: fix dropped test error
authorLars Lehtonen <lars.lehtonen@gmail.com>
Tue, 5 Nov 2019 02:13:06 +0000 (18:13 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 5 Nov 2019 03:50:54 +0000 (03:50 +0000)
commit979d65dbc7687ca4c0bc76576d37affae7b7c041
tree9a626b6231330139d4b03e7843f51062c8627690
parent9a0a82445650eebedf5633fdfe6e73b5836dc5c9
net/smtp: fix dropped test error

Pick up a dropped error in TestSendMailWithAuth() and simplify goroutine
to use an error channel instead of a sync.WaitGroup and an empty struct
doneCh.

Change-Id: Ie70d0f7c4c85835eb682e81d086ce4d9900269e6
Reviewed-on: https://go-review.googlesource.com/c/go/+/205247
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/smtp/smtp_test.go