diff options
author | Arun Isaac | 2021-10-24 02:59:08 +0530 |
---|---|---|
committer | Arun Isaac | 2021-10-24 02:59:08 +0530 |
commit | a00a8e5e4a9ac6ca9a603c799982bcd46137c3de (patch) | |
tree | e7431fecb36830584f9c804dda00efee8ae5d795 /tests | |
parent | 9d2c3b593a583eff3a1aa4ce95808644bb0b54ae (diff) | |
download | guile-email-a00a8e5e4a9ac6ca9a603c799982bcd46137c3de.tar.gz guile-email-a00a8e5e4a9ac6ca9a603c799982bcd46137c3de.tar.lz guile-email-a00a8e5e4a9ac6ca9a603c799982bcd46137c3de.zip |
email: Handle Received header with two tokens but no timestamp.
* email/email.scm (parse-email-headers): Match Received header with
timestamp more precisely.
* tests/email.scm ("Parse Received header with two tokens but no
timestamp"): No test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/email.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/email.scm b/tests/email.scm index f283e71..a6d2b46 100644 --- a/tests/email.scm +++ b/tests/email.scm @@ -547,6 +547,17 @@ Content-Type: text/plain; charset=utf-8 (charset . "utf-8")) (content-transfer-encoding . 7bit))) +;; TODO: Fix this test once previous test is addressed. +(test-alist= "Parse Received header with two tokens but no timestamp" + (parse-email-headers + "Received: from foo +") + `((trace received "from foo") + (content-type (type . text) + (subtype . plain) + (charset . "utf-8")) + (content-transfer-encoding . 7bit))) + ;;; ;;; Email addresses |