mirror of
https://github.com/golang/go
synced 2024-11-21 19:34:46 -07:00
mail: cosmetic fixes.
R=rsc, gri CC=golang-dev https://golang.org/cl/4602062
This commit is contained in:
parent
1a4681ed74
commit
812b2b6405
@ -229,7 +229,6 @@ func TestAddressParsing(t *testing.T) {
|
||||
},
|
||||
// Custom example of RFC 2047 "B"-encoded UTF-8 address.
|
||||
{
|
||||
// XXX: a different example
|
||||
`=?UTF-8?B?SsO2cmc=?= <joerg@example.com>`,
|
||||
[]*Address{
|
||||
&Address{
|
||||
@ -246,7 +245,7 @@ func TestAddressParsing(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
if !reflect.DeepEqual(addrs, test.exp) {
|
||||
t.Errorf("Parse of %q: got %+v, want %+v", test.addrsStr, *addrs[0], *test.exp[0])
|
||||
t.Errorf("Parse of %q: got %+v, want %+v", test.addrsStr, addrs, test.exp)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user