Added test case that includes a comma in the full name. This tests

for an old bug that's been gone a while, but was still documented
until a few minutes from now.
This commit is contained in:
Fred Drake 1999-04-28 17:38:31 +00:00
parent ea07f2751a
commit 5712fa9250
1 changed files with 7 additions and 0 deletions

View File

@ -80,3 +80,10 @@ test''', [('', ''),
('', 'dd47@mail.xxx.edu'),
('', '_at_hmhq@hdq-mdm1-imgout.companay.com')
])
# This exercises the old commas-in-a-full-name bug, which should be doing the
# right thing in recent versions of the module.
test('''To: "last, first" <userid@foo.net>
test''', [('last, first', 'userid@foo.net'),
])