aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-20 12:27:49 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-20 12:27:49 +0200
commit3e3821682c0009acb9651799b961f41ed3027e61 (patch)
tree62ecdb1c4db1c0e8e3059a6a8bc077dbe4866a36 /tests
parent24d9f192e45434448734e8fb03f589618ea7363f (diff)
downloadaerogramme-3e3821682c0009acb9651799b961f41ed3027e61.tar.gz
aerogramme-3e3821682c0009acb9651799b961f41ed3027e61.zip
Move back to mainline mail-parser
- this removes the bug introduced in 0fe5fe071 - but adds some bugs where the body structure is not returned properly
Diffstat (limited to 'tests')
-rw-r--r--tests/parsing-crates/mail_parser.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/parsing-crates/mail_parser.rs b/tests/parsing-crates/mail_parser.rs
index 165bace..8b277a3 100644
--- a/tests/parsing-crates/mail_parser.rs
+++ b/tests/parsing-crates/mail_parser.rs
@@ -1,10 +1,10 @@
-use mail_parser_superboum::Message; // FAIL
+use mail_parser_superboum::Message; // FAIL
+
//use mail_parser_048::Message; // PASS
//use mail_parser_05::Message; // PASS
//use mail_parser_main::Message; // PASS
//use mail_parser_db61a03::Message; // PASS
-
#[test]
fn test1() {
let input = br#"Content-Type: multipart/mixed; boundary="1234567890123456789012345678901234567890123456789012345678901234567890123456789012"
@@ -37,7 +37,6 @@ Content-Type: text/plain
dbg!(message);
}
-
#[test]
fn test2() {
let input = br#"Content-Type: message/rfc822
@@ -54,7 +53,7 @@ Content-Type: text/plain
#[test]
fn test3() {
-let input = br#"Content-Type: multipart/mixed; boundary=":foo"
+ let input = br#"Content-Type: multipart/mixed; boundary=":foo"
--:foo
--:foo