summaryrefslogtreecommitdiff
path: root/src/pkg/net/mail/message_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/mail/message_test.go')
-rw-r--r--src/pkg/net/mail/message_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pkg/net/mail/message_test.go b/src/pkg/net/mail/message_test.go
index 2e746f4a7..3c037f383 100644
--- a/src/pkg/net/mail/message_test.go
+++ b/src/pkg/net/mail/message_test.go
@@ -225,6 +225,16 @@ func TestAddressParsing(t *testing.T) {
},
},
},
+ // Custom example with "." in name. For issue 4938
+ {
+ `Asem H. <noreply@example.com>`,
+ []*Address{
+ {
+ Name: `Asem H.`,
+ Address: "noreply@example.com",
+ },
+ },
+ },
}
for _, test := range tests {
if len(test.exp) == 1 {