]> Cypherpunks repositories - gostls13.git/commit
net/smtp: don't call testing.T.Fatal{,f} from goroutines not running Test function
authorMikio Hara <mikioh.mikioh@gmail.com>
Fri, 27 Oct 2017 09:13:17 +0000 (18:13 +0900)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 1 Nov 2017 20:14:15 +0000 (20:14 +0000)
commit541bf9f8ea458560353acf78d940c69f5080750a
treecd911c03564bafbc4ae1d68acdd8e5bc3a36b03f
parent0b7df65550afbeeb32d10aebb1a0873bfbc2c310
net/smtp: don't call testing.T.Fatal{,f} from goroutines not running Test function

Also replaces verbs for error message from %s to %v. In general, low
level IO APIs return an error value containing non-string types and
there's no guarantee that all the types implement fmt.Stringer
interface.

Change-Id: I8a6e2a80d5c721c772a83b9556bac16556eaa771
Reviewed-on: https://go-review.googlesource.com/73931
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/smtp/smtp_test.go