Change-Id: I8f5c72c6c0db015c06d564523bab35d97d934578
Reviewed-on: https://go-review.googlesource.com/13510
Reviewed-by: Michael McGreevy <mcgreevy@golang.org>
Reviewed-by: David Symonds <dsymonds@golang.org>
// treat the whole address as local-part.
local = a.Address
} else {
- local, domain := a.Address[:at], a.Address[at+1:]
+ local, domain = a.Address[:at], a.Address[at+1:]
}
// Add quotes if needed
},
{ // https://golang.org/issue/12098
&Address{Name: "Rob", Address: ""},
- `"Rob" <>`,
+ `"Rob" <@>`,
},
{ // https://golang.org/issue/12098
&Address{Name: "Rob", Address: "@"},