http://git.apophis.i2p/apophis/smtprelay-I2P/src/commit/5381d82e7513635fac348b7b9dc20d33266014b9/auth_test.go
T ) { var tests = [ ] struct { name string expectFail bool line string username string addrs [ ] string } { { name : " Empty line " , expectFail : true , line : " " , } , { name : " Too few fields " , expectFail : true , line : " joe " , } , { name : " Too many fields " , expectFail : true , line : " joe
xxx [email protected] whatsthis " , } , { name : " Normal case " , line : " joe
xxx [email protected] " , username : " joe " , addrs : [ ] string { "
[email protected] " } , } ,...