]> granicus.if.org Git - python/commitdiff
added a test for "To: :" patch
authorBarry Warsaw <barry@python.org>
Mon, 12 Jul 1999 18:47:00 +0000 (18:47 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 12 Jul 1999 18:47:00 +0000 (18:47 +0000)
Lib/test/test_rfc822.py

index 96654f49dc66c676a809beb9929ec4b7ade38839..0d4c66f88096a1e3e04f556e4ab71bc63a983f30 100644 (file)
@@ -113,3 +113,10 @@ test('''To: (Comment stuff) "Quoted name"@somewhere.com
 
 test''', [('Comment stuff', '"Quoted name"@somewhere.com'),
           ])
+
+test('''To: :
+Cc: goit@lip.com
+Date:    Wed, 13 Jan 1999 23:57:35 -0500
+
+test''', [('', 'goit@lip.com')])
+